tazpkg rev 535
tazpkg: Fixed --help-up option.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Nov 06 06:24:13 2011 +0000 (2011-11-06) |
parents | 84f54d41d7c5 |
children | 0a1c18483422 |
files | tazpkg |
line diff
1.1 --- a/tazpkg Sun Nov 06 05:40:20 2011 +0000 1.2 +++ b/tazpkg Sun Nov 06 06:24:13 2011 +0000 1.3 @@ -2351,7 +2351,7 @@ 1.4 echo "" 1.5 fi 1.6 done ;; 1.7 - up|upgrade) 1.8 + up|upgrade|--help-up) 1.9 # 1.10 # This is the new way to upgrade packages making 'upgrade' and 1.11 # upgradeable out-of-date. This new way is much, much more faster! 1.12 @@ -2359,6 +2359,10 @@ 1.13 # and easy to handle vars after using only md5sum to compare packages 1.14 # 1.15 # Options available for the command: up 1.16 + if [ "$COMMAND" == "--help-up" ]; then 1.17 + usage_up 1.18 + exit 1 1.19 + fi 1.20 for opt in $@ 1.21 do 1.22 case "$opt" in 1.23 @@ -2393,7 +2397,7 @@ 1.24 echo -en "\033[26G " && gettext "Update type" 1.25 echo -e "\033[0m" 1.26 separator 1.27 - cd $LOCALSTATE/installed 1.28 + cd $INSTALLED 1.29 echo "" > $UP_LIST 1.30 blocked_count=0 1.31 for pkg in *