wok-4.x view slitaz-loram/stuff/loram.extract @ rev 11558
Add matchbox-window-manager-2 form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:12 2011 +0100 (2011-12-25) |
parents | d9ddcc6d973c |
children |
line source
1 rmdir usr
2 rmdir .usr* 2> /dev/null
3 packedfs=".usr.cromfs"
4 if [ -f $packedfs ]; then
5 bin/unmkcromfs $packedfs usr > /dev/null
6 rm -f $packedfs
7 fi
8 packedfs=".usr.sqfs"
9 if [ -f $packedfs ]; then
10 sbin/unsquashfs -d usr $packedfs > /dev/null
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
23 for ii in bin/vcsa2txt bin/awk bin/script bin/cut bin/readlink bin/du bin/free \
24 bin/killall5 bin/seq bin/find bin/xargs bin/patch; do
25 [ -e usr/$ii ] && rm -f $ii
26 done
27 [ -e usr/bin/vcsa2txt ] || rm -f bin/conspy