wok diff get-texlive/stuff/get-texlive @ rev 7739
Added pre_install and post_remove to hd2u.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Mon Dec 20 08:07:07 2010 +0000 (2010-12-20) |
parents | 32959e7975fc |
children | f4bf102ffcf9 |
line diff
1.1 --- a/get-texlive/stuff/get-texlive Fri Aug 14 10:01:38 2009 +0200 1.2 +++ b/get-texlive/stuff/get-texlive Mon Dec 20 08:07:07 2010 +0000 1.3 @@ -53,6 +53,9 @@ 1.4 1.5 tar -xzf $TARBALL 1.6 1.7 +# extracted pkg can be removed: Save RAM before packing 1.8 +rm -rf $TARBALL 1.9 + 1.10 # launch texlive install script 1.11 echo -e "\033[1;33m Launching $PACKAGE install script\033[0m" 1.12 cd $SOURCE 1.13 @@ -127,6 +130,8 @@ 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 CONFIRM="y" 1.21 if [ -z "$ROOT" ]; then