wok-stable view slitaz-loram/stuff/loram.extract @ rev 728
firefox: Improved local Home page
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat May 03 00:34:02 2008 +0200 (2008-05-03) |
parents | 5b4e22afe799 |
children | 30c30ae22fb8 |
line source
1 rmdir usr
2 rm -f bin/vcsa2txt bin/awk bin/script
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