wok-current diff slitaz-loram-cdrom/stuff/loram.extract @ rev 1620
slitaz-loram*: do not assume files are in /usr/bin
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Oct 21 08:48:46 2008 +0000 (2008-10-21) |
parents | 0ae8330553fc |
children | 27c64029013c |
line diff
1.1 --- a/slitaz-loram-cdrom/stuff/loram.extract Fri Jun 27 13:40:34 2008 +0000 1.2 +++ b/slitaz-loram-cdrom/stuff/loram.extract Tue Oct 21 08:48:46 2008 +0000 1.3 @@ -1,6 +1,5 @@ 1.4 # remove link to cdrom 1.5 [ -d cdrom ] && rmdir cdrom 1.6 -rm -f bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink bin/du bin/free 1.7 if [ -L usr ]; then 1.8 rm usr 1.9 cp -a $1/usr . 1.10 @@ -44,3 +43,6 @@ 1.11 sed -i 's/CLEAN_UP_SYSTEM="no"/CLEAN_UP_SYSTEM="yes"/' etc/rcS.conf 1.12 sed -i 's/RUN_DAEMONS="/RUN_DAEMONS="slim /' etc/rcS.conf 1.13 fi 1.14 +for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink bin/du bin/free; do 1.15 + [ -e usr/$ii ] && rm -f $ii 1.16 +done