|
|
| version 1.10.2.10, 2018/07/06 08:30:29 | version 1.11.2.1, 2021/03/17 21:27:33 |
|---|---|
| Line 197 MakeFS_boot() | Line 197 MakeFS_boot() |
| install -m 444 ${CFGDIR}/boot/logo-elwix.4th $1/boot; | install -m 444 ${CFGDIR}/boot/logo-elwix.4th $1/boot; |
| install -m 444 ${CFGDIR}/boot/brand-elwix.4th $1/boot; | install -m 444 ${CFGDIR}/boot/brand-elwix.4th $1/boot; |
| install -m 444 ${CFGDIR}/boot/menu.4th $1/boot; | install -m 444 ${CFGDIR}/boot/menu.4th $1/boot; |
| install -m 444 ${CFGDIR}/boot/logo-elwix.lua $1/boot/lua; | |
| install -m 444 ${CFGDIR}/boot/brand-elwix.lua $1/boot/lua; | |
| ;; | ;; |
| *) | *) |
| ;; | ;; |
| Line 224 InstallList() | Line 226 InstallList() |
| sed -nE -e 's/^ *([^ #]+) */\1/p' < $1 | tr ':' '\n' >$TMPFILE | sed -nE -e 's/^ *([^ #]+) */\1/p' < $1 | tr ':' '\n' >$TMPFILE |
| cd $2 | cd $2 |
| for i in $(cat $TMPFILE); do | for i in $(cat $TMPFILE); do |
| if [ ! -f $i ]; then | |
| rm -f $TMPFILE | |
| echo "Error:: File not found $i" | |
| exit 1 | |
| fi | |
| if [ -x $i ]; then | if [ -x $i ]; then |
| echo "Strip '$i'" | echo "Strip '$i'" |
| ${CEXEC} chflags -f noschg $i | ${CEXEC} chflags -f noschg $i |
| Line 312 StripFiles() | Line 319 StripFiles() |
| done | done |
| cd - | cd - |
| rm -f $TMPFILE | rm -f $TMPFILE |
| fi | |
| } | |
| # $1 = file_pattern | |
| # $2 = From dir | |
| # $3 = To dir | |
| InstallLinks() | |
| { | |
| if [ -d "$2" ]; then | |
| cd $2 | |
| find . -type l -name "$1" | | |
| tar -cvf - -T - | tar -C $3 -xf - | |
| cd - | |
| fi | fi |
| } | } |