wok rev 744

slitaz-loram-cdrom: typos
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 05 18:50:58 2008 +0000 (2008-05-05)
parents 1b236dd637cc
children 9b3d2133ce0f
files slitaz-loram-cdrom/stuff/loram.extract slitaz-loram-cdrom/stuff/loram.rootfs
line diff
     1.1 --- a/slitaz-loram-cdrom/stuff/loram.extract	Mon May 05 15:30:34 2008 +0000
     1.2 +++ b/slitaz-loram-cdrom/stuff/loram.extract	Mon May 05 18:50:58 2008 +0000
     1.3 @@ -1,6 +1,6 @@
     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
     1.7 +rm -f bin/vcsa2txt bin/script bin/cut bin/readlink
     1.8  if [ -L usr ]; then
     1.9  	rm usr
    1.10  	cp -a $1/usr .
    1.11 @@ -11,7 +11,7 @@
    1.12  	rm -f bin/unmkcromfs
    1.13  	cp -a $1/unmkcromfs bin/unmkcromfs
    1.14  	bin/unmkcromfs $packedfs usr
    1.15 -	[ "${packedfs%%/*]" = ".." ] && rm -f $packedfs
    1.16 +	[ "${packedfs%%/*}" = ".." ] && rm -f $packedfs
    1.17  	rm -f bin/cromfs-driver
    1.18  	cp -a $1/cromfs-driver bin/cromfs-driver
    1.19  fi
    1.20 @@ -19,7 +19,7 @@
    1.21  if [ -f $packedfs ]; then
    1.22  	rmdir usr
    1.23  	sbin/unsquashfs -d usr $packedfs
    1.24 -	[ "${packedfs%%/*]" = ".." ] && rm -f $packedfs
    1.25 +	[ "${packedfs%%/*}" = ".." ] && rm -f $packedfs
    1.26  fi
    1.27  if [ -d usr/.moved ]; then
    1.28  	( cd usr/.moved ; find * -print ) | \
     2.1 --- a/slitaz-loram-cdrom/stuff/loram.rootfs	Mon May 05 15:30:34 2008 +0000
     2.2 +++ b/slitaz-loram-cdrom/stuff/loram.rootfs	Mon May 05 18:50:58 2008 +0000
     2.3 @@ -3,7 +3,7 @@
     2.4    mkdir -p ./usr/.moved$ii
     2.5    for j in e2fsprogs pcmciautils cpio syslinux-extra isapnptools ncurses \
     2.6  	   libcap; do
     2.7 -    for k in $(grep ^$ii /var/lib/tazpkg/installed/$j/files.list) ; do
     2.8 +    for k in $(grep -s ^$ii /var/lib/tazpkg/installed/$j/files.list) ; do
     2.9        [ -f .$k ] || continue
    2.10        mv .$k ./usr/.moved$k
    2.11        ln -s /usr/.moved$k .$k 
    2.12 @@ -46,7 +46,7 @@
    2.13    ln -s /cdrom/usr $usr
    2.14    ln -s /bin ../rootcd/bin
    2.15  fi
    2.16 -for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink; do
    2.17 +for ii in bin/vcsa2txt bin/script bin/cut bin/readlink ; do
    2.18    ln -s busybox $ii
    2.19  done
    2.20  mkdir cdrom