wok-4.x rev 4985

fix: RAM for get-dropbox
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 10:37:20 2010 +0000 (2010-02-25)
parents 041af50bcc91
children 4e3fdb23a650
files get-dropbox/stuff/get-dropbox
line diff
     1.1 --- a/get-dropbox/stuff/get-dropbox	Thu Feb 25 10:30:21 2010 +0000
     1.2 +++ b/get-dropbox/stuff/get-dropbox	Thu Feb 25 10:37:20 2010 +0000
     1.3 @@ -38,6 +38,9 @@
     1.4  fi
     1.5  
     1.6  tar xzf $TARBALL
     1.7 +# extracted pkg can be removed: Save RAM
     1.8 +rm -f $TARBALL
     1.9 +
    1.10  mkdir -p $PACKAGE-$VERSION/fs/usr/lib \
    1.11  	$PACKAGE-$VERSION/fs/usr/bin \
    1.12  	$PACKAGE-$VERSION/fs/usr/share/applications 
    1.13 @@ -75,7 +78,7 @@
    1.14  PACKAGE="$PACKAGE"
    1.15  VERSION="$VERSION"
    1.16  CATEGORY="non-free"
    1.17 -SHORT_DESC="Dropbox daemon and client fro online storage."
    1.18 +SHORT_DESC="Dropbox daemon and client for online storage."
    1.19  DEPENDS="python"
    1.20  WEB_SITE="http://www.getdropbox.com/"
    1.21  SUGGESTED="ntlmaps"
    1.22 @@ -84,6 +87,9 @@
    1.23  # Pack
    1.24  tazpkg pack $PACKAGE-$VERSION
    1.25  
    1.26 +# Clean to save RAM memory
    1.27 +rm -rf $PACKAGE-$VERSION
    1.28 +
    1.29  # Install pseudo package
    1.30  yes y | tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    1.31