wok annotate slitaz-loram/stuff/loram.extract @ rev 1596
midori: fix depends
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Oct 17 18:01:06 2008 +0000 (2008-10-17) |
parents | 0ae8330553fc |
children | 52ca9fcdca28 |
rev | line source |
---|---|
pascal@370 | 1 rmdir usr |
pascal@765 | 2 rm -f bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink |
pascal@389 | 3 packedfs=".usr.cromfs" |
pascal@389 | 4 if [ -f $packedfs ]; then |
pascal@389 | 5 bin/unmkcromfs $packedfs usr |
pascal@389 | 6 rm -f $packedfs |
pascal@389 | 7 fi |
pascal@1285 | 8 packedfs=".usr.sqfs" |
pascal@389 | 9 if [ -f $packedfs ]; then |
pascal@389 | 10 sbin/unsquashfs -d usr $packedfs |
pascal@389 | 11 rm -f $packedfs |
pascal@389 | 12 fi |
pascal@370 | 13 ( cd usr/.moved ; find * -print ) | \ |
pascal@370 | 14 while read file; do |
pascal@370 | 15 [ -L "$file" ] || continue |
pascal@370 | 16 rm -f "$file" |
pascal@370 | 17 mv "usr/.moved/$file" "$file" |
pascal@370 | 18 done |
pascal@370 | 19 rm -rf usr/.moved |
pascal@954 | 20 for ii in lib/libz.so lib/libstdc++.so lib/libgcc_s.so; do |
pascal@954 | 21 [ -e $ii ] && mv $ii* usr/lib/ |
pascal@953 | 22 done |