wok-stable view slitaz-loram/stuff/loram.extract @ rev 3867
syslinux/ifmem: add extra arguments in cmdline
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 08 16:04:33 2009 +0200 (2009-08-08) |
parents | 52ca9fcdca28 |
children | 6509db5aa948 |
line source
1 rmdir usr
2 packedfs=".usr.cromfs"
3 if [ -f $packedfs ]; then
4 bin/unmkcromfs $packedfs usr
5 rm -f $packedfs
6 fi
7 packedfs=".usr.sqfs"
8 if [ -f $packedfs ]; then
9 sbin/unsquashfs -d usr $packedfs
10 rm -f $packedfs
11 fi
12 ( cd usr/.moved ; find * -print ) | \
13 while read file; do
14 [ -L "$file" ] || continue
15 rm -f "$file"
16 mv "usr/.moved/$file" "$file"
17 done
18 rm -rf usr/.moved
19 for ii in lib/libz.so lib/libstdc++.so lib/libgcc_s.so; do
20 [ -e $ii ] && mv $ii* usr/lib/
21 done
22 for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink bin/du bin/free \
23 bin/killall5 bin/seq ; do
24 [ -e usr/$ii ] && rm -f $ii
25 done