wok-stable rev 4992

fix: RAM for get-linstdc++5
author Rohit Joshi <jozee@slitaz.org>
date Thu Feb 25 11:24:45 2010 +0000 (2010-02-25)
parents 056125d04927
children 552220e919ae
files get-libstdc++5/stuff/get-libstdc++5
line diff
     1.1 --- a/get-libstdc++5/stuff/get-libstdc++5	Thu Feb 25 11:22:07 2010 +0000
     1.2 +++ b/get-libstdc++5/stuff/get-libstdc++5	Thu Feb 25 11:24:45 2010 +0000
     1.3 @@ -47,6 +47,9 @@
     1.4  dpkg-deb -x $DEB $PACKAGE-$VERSION/fs
     1.5  rm -rf $PACKAGE-$VERSION/fs/usr/share
     1.6  
     1.7 +# extracted pkg can be removed: Save RAM
     1.8 +rm -rf $DEB
     1.9 +
    1.10  # Create pseudo package
    1.11  cat > $PACKAGE-$VERSION/receipt <<EOT
    1.12  # SliTaz package receipt.
    1.13 @@ -61,6 +64,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  tazpkg install $PACKAGE-$VERSION.tazpkg --root=$ROOT
    1.22