wok diff get-google-chrome/stuff/get-google-chrome @ rev 5034

tazbb: clean flavor status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 03 11:58:08 2010 +0100 (2010-03-03)
parents f01b50ac5429
children 9d14a0fa9b83
line diff
     1.1 --- a/get-google-chrome/stuff/get-google-chrome	Fri Aug 21 08:46:03 2009 +0000
     1.2 +++ b/get-google-chrome/stuff/get-google-chrome	Wed Mar 03 11:58:08 2010 +0100
     1.3 @@ -49,6 +49,9 @@
     1.4  tar xzf control.tar.gz ./control
     1.5  VERSION=`sed -n 's/Version:\ *//p' control`
     1.6  
     1.7 +# extracted pkg can be removed: Save RAM
     1.8 +rm -rf $DEBPKG
     1.9 +
    1.10  mkdir -p $PACKAGE-$VERSION/fs
    1.11  mv usr opt $PACKAGE-$VERSION/fs
    1.12  mkdir -p $PACKAGE-$VERSION/fs/usr/share/applications/
    1.13 @@ -93,6 +96,9 @@
    1.14  # Pack
    1.15  tazpkg pack $PACKAGE-$VERSION
    1.16  
    1.17 +# Clean to save RAM memory
    1.18 +rm -rf $PACKAGE-$VERSION
    1.19 +
    1.20  # Install pseudo package
    1.21  yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    1.22