wok diff get-google-earth/stuff/get-google-earth @ rev 12077
fix /usr/bin/git-citool in correct link /usr/lib/git-core/git-citool
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Fri Mar 09 10:16:47 2012 +0100 (2012-03-09) |
parents | 32959e7975fc |
children | d7b0fb9b6487 |
line diff
1.1 --- a/get-google-earth/stuff/get-google-earth Fri Aug 14 10:01:38 2009 +0200 1.2 +++ b/get-google-earth/stuff/get-google-earth Fri Mar 09 10:16:47 2012 +0100 1.3 @@ -2,6 +2,7 @@ 1.4 1.5 DEPENDS="mesa" 1.6 ROOT="$1" 1.7 +PACKAGE="google-earth" 1.8 1.9 if test $(id -u) != 0 ; then 1.10 echo -e "\nYou must be root to run `basename $0`." 1.11 @@ -41,6 +42,9 @@ 1.12 # Extract 1.13 ./GoogleEarthLinux.bin 1.14 1.15 +# extracted pkg can be removed: Save RAM 1.16 +rm -rf GoogleEarthLinux.bin 1.17 + 1.18 # Create pseudo package 1.19 while read file; do 1.20 dest=google-earth-$VERSION/fs$(dirname $file) 1.21 @@ -62,7 +66,10 @@ 1.22 EOT 1.23 1.24 # Pack 1.25 -tazpkg pack google-earth-$VERSION 1.26 +tazpkg pack $PACKAGE-$VERSION 1.27 + 1.28 +# Clean to save RAM memory 1.29 +rm -rf $PACKAGE-$VERSION 1.30 1.31 # Install pseudo package 1.32 tazpkg install google-earth-$VERSION.tazpkg --root=$ROOT