wok annotate slitaz-loram/stuff/loram.extract @ rev 3518
Fix: Little typo in DEPENDS
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jun 20 21:02:16 2009 +0000 (2009-06-20) |
parents | 52ca9fcdca28 |
children | 6509db5aa948 |
rev | line source |
---|---|
pascal@370 | 1 rmdir usr |
pascal@389 | 2 packedfs=".usr.cromfs" |
pascal@389 | 3 if [ -f $packedfs ]; then |
pascal@389 | 4 bin/unmkcromfs $packedfs usr |
pascal@389 | 5 rm -f $packedfs |
pascal@389 | 6 fi |
pascal@1285 | 7 packedfs=".usr.sqfs" |
pascal@389 | 8 if [ -f $packedfs ]; then |
pascal@389 | 9 sbin/unsquashfs -d usr $packedfs |
pascal@389 | 10 rm -f $packedfs |
pascal@389 | 11 fi |
pascal@370 | 12 ( cd usr/.moved ; find * -print ) | \ |
pascal@370 | 13 while read file; do |
pascal@370 | 14 [ -L "$file" ] || continue |
pascal@370 | 15 rm -f "$file" |
pascal@370 | 16 mv "usr/.moved/$file" "$file" |
pascal@370 | 17 done |
pascal@370 | 18 rm -rf usr/.moved |
pascal@954 | 19 for ii in lib/libz.so lib/libstdc++.so lib/libgcc_s.so; do |
pascal@954 | 20 [ -e $ii ] && mv $ii* usr/lib/ |
pascal@953 | 21 done |
pascal@2140 | 22 for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink bin/du bin/free \ |
pascal@2140 | 23 bin/killall5 bin/seq ; do |
pascal@1620 | 24 [ -e usr/$ii ] && rm -f $ii |
pascal@1620 | 25 done |