wok view slitaz-loram/stuff/loram.extract @ rev 2923
Add: django (python web framework)
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Thu May 07 00:25:25 2009 +0000 (2009-05-07) |
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