wok-6.x diff slitaz-loram-cdrom/stuff/loram.extract @ rev 4232
xfce4-session: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 15:33:52 2009 +0200 (2009-09-24) |
parents | 27c64029013c |
children | d9ddcc6d973c |
line diff
1.1 --- a/slitaz-loram-cdrom/stuff/loram.extract Wed Feb 04 14:58:33 2009 +0000 1.2 +++ b/slitaz-loram-cdrom/stuff/loram.extract Thu Sep 24 15:33:52 2009 +0200 1.3 @@ -1,5 +1,6 @@ 1.4 # remove link to cdrom 1.5 -[ -d cdrom ] && rmdir cdrom 1.6 +[ -d cdrom ] && rmdir cdrom 2> /dev/null 1.7 +rmdir .usr* 2> /dev/null 1.8 if [ -L usr ]; then 1.9 rm usr 1.10 cp -a $1/usr . 1.11 @@ -9,7 +10,7 @@ 1.12 rmdir usr 1.13 rm -f bin/unmkcromfs 1.14 cp -a $1/unmkcromfs bin/unmkcromfs 1.15 - bin/unmkcromfs $packedfs usr 1.16 + bin/unmkcromfs $packedfs usr > /dev/null 1.17 [ "${packedfs%%/*}" = ".." ] && rm -f $packedfs 1.18 rm -f bin/cromfs-driver 1.19 cp -a $1/cromfs-driver bin/cromfs-driver 1.20 @@ -17,7 +18,7 @@ 1.21 packedfs="$1/usr.sqfs" 1.22 if [ -f $packedfs ]; then 1.23 rmdir usr 1.24 - sbin/unsquashfs -d usr $packedfs 1.25 + sbin/unsquashfs -d usr $packedfs > /dev/null 1.26 [ "${packedfs%%/*}" = ".." ] && rm -f $packedfs 1.27 fi 1.28 if [ -d usr/.moved ]; then