wok view slitaz-loram/stuff/loram.extract @ rev 1006

gpxe*: url=http://boot.slitaz.org/pxe/pxelinux.0
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jul 07 16:00:15 2008 +0000 (2008-07-07)
parents 1c1dad96a8f3
children 1f3b7c0e6144
line source
1 rmdir usr
2 rm -f bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink
3 packedfs=".usr.cromfs"
4 if [ -f $packedfs ]; then
5 bin/unmkcromfs $packedfs usr
6 rm -f $packedfs
7 fi
8 packedfs=".usr.shfs"
9 if [ -f $packedfs ]; then
10 sbin/unsquashfs -d usr $packedfs
11 rm -f $packedfs
12 fi
13 ( cd usr/.moved ; find * -print ) | \
14 while read file; do
15 [ -L "$file" ] || continue
16 rm -f "$file"
17 mv "usr/.moved/$file" "$file"
18 done
19 rm -rf usr/.moved
20 for ii in lib/libz.so lib/libstdc++.so lib/libgcc_s.so; do
21 [ -e $ii ] && mv $ii* usr/lib/
22 done