wok-next diff slitaz-loram-http/stuff/loram.extract @ rev 5624

Add: libburn
author Alexander Medvedev <devl547@gmail.com>
date Thu May 27 18:45:58 2010 +0000 (2010-05-27)
parents d9ddcc6d973c
children 738a9be33f09
line diff
     1.1 --- a/slitaz-loram-http/stuff/loram.extract	Sun Nov 08 12:55:54 2009 +0100
     1.2 +++ b/slitaz-loram-http/stuff/loram.extract	Thu May 27 18:45:58 2010 +0000
     1.3 @@ -21,14 +21,15 @@
     1.4  	sbin/unsquashfs -d usr $packedfs > /dev/null
     1.5  	[ "${packedfs%%/*}" = ".." ] && rm -f $packedfs
     1.6  fi
     1.7 -if [ -d usr/.moved ]; then
     1.8 -	( cd usr/.moved ; find * -print ) | \
     1.9 +if [ -d .moved ]; then
    1.10 +	( cd .moved ; find * -print ) | \
    1.11  	while read file; do
    1.12  		[ -L "$file" ] || continue
    1.13  		rm -f "$file"
    1.14 -		mv "usr/.moved/$file" "$file"
    1.15 +		mv ".moved/$file" "$file"
    1.16  	done
    1.17 -	rm -rf usr/.moved
    1.18 +	rm -rf usr/.moved 2> /dev/null
    1.19 +	rm -f .moved
    1.20  fi
    1.21  for ii in lib/libz.so lib/libstdc++.so lib/libgcc_s.so; do
    1.22  	[ -e $ii ] && mv $ii* usr/lib/