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

Fix: get-OpenOffice3 type.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed Nov 12 00:44:56 2008 +0100 (2008-11-12)
parents 1f3b7c0e6144
children 27c64029013c
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; do
23 [ -e usr/$ii ] && rm -f $ii
24 done