tazpkg diff tazpkg @ rev 476
Tidy up
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Fri Apr 08 20:46:12 2011 +0100 (2011-04-08) |
parents | 568406160968 |
children | ec35cf0ec76d |
line diff
1.1 --- a/tazpkg Fri Apr 08 14:29:46 2011 +0000 1.2 +++ b/tazpkg Fri Apr 08 20:46:12 2011 +0100 1.3 @@ -106,7 +106,7 @@ 1.4 extract `gettext \"Extract a (*.tazpkg) package into a directory.\"` 1.5 pack `gettext \"Pack an unpacked or prepared package tree.\"` 1.6 recharge `gettext \"Recharge your packages.list from the mirror.\"` 1.7 - up|--help-up `gettext \"Check packges md5sum to list and install latest upgrade.\"` 1.8 + up|--help-up `gettext \"Check packages md5sum to list and install latest upgrades.\"` 1.9 repack `gettext \"Create a package archive from an installed package.\"` 1.10 repack-config `gettext \"Create a package archive with configuration files.\"` 1.11 recompress `gettext \"Rebuild a package with a better compression ratio.\"` 1.12 @@ -139,9 +139,9 @@ 1.13 * `gettext \"Without options run in interactive mode and ask before install\"` 1.14 1.15 \033[1m`gettext \"Where options are\"`: \033[0m 1.16 - --check |-c `gettext \"Check only for avalaible upgrade\"` 1.17 + --check |-c `gettext \"Check only for available upgrades\"` 1.18 --recharge |-r `gettext \"Force recharge of packages list and check\"` 1.19 - --install |-i `gettext \"Check for upgrade and install them all\"` 1.20 + --install |-i `gettext \"Check for upgrades and install them all\"` 1.21 1.22 \033[1m`gettext \"Example\"`: \033[0m 1.23 tazpkg up --recharge --install 1.24 @@ -2348,12 +2348,12 @@ 1.25 done ;; 1.26 up) 1.27 # 1.28 - # This is tne new way to upgrade packages making 'upgrade' and 1.29 + # This is the new way to upgrade packages making 'upgrade' and 1.30 # upgradeable out-of-date. This new way is much, much more faster! 1.31 - # Look into installed packages and get data from receipt it's fast 1.32 - # and esay to handle vars after use only md5sum to compare packages 1.33 + # Look into installed packages and get data from receipt, it is fast 1.34 + # and easy to handle vars after using only md5sum to compare packages 1.35 # 1.36 - # Options avalaible for the command: up 1.37 + # Options available for the command: up 1.38 for opt in $@ 1.39 do 1.40 case "$opt" in 1.41 @@ -2404,7 +2404,7 @@ 1.42 [ "$upnb" = 0 ] && install="n" && gettext -e "System is up-to-date...\n" 1.43 separator 1.44 echo -en "\033[1m" 1.45 - eval_gettext "You have \$upnb avalaible uppgrade on \$pkgs installed packages" 1.46 + eval_gettext "You have \$upnb available upgrades on \$pkgs installed packages" 1.47 echo -e "\033[0m\n" 1.48 # Pkgs to upgrade ? Skip, let install them all or ask user 1.49 [ "$install" == "n" ] && exit 0 1.50 @@ -2422,7 +2422,7 @@ 1.51 echo 'y' | tazpkg get-install $pkg --forced 1.52 done ;; 1.53 *) 1.54 - gettext -e "Leaving without any upgrade installed.\n\n" 1.55 + gettext -e "Leaving without any upgrades installed.\n\n" 1.56 exit 0 ;; 1.57 esac 1.58 fi 1.59 @@ -2568,7 +2568,7 @@ 1.60 # What to do if major or minor version is smaller. 1.61 if [ "$FIXE" == "yes" ]; then 1.62 gettext \ 1.63 -"WARNING ---> Installed package(s) seem(s) more recent than the mirrored 1.64 +"WARNING ---> Installed package seems more recent than the mirrored 1.65 one. You can block packages using the command : 'tazpkg block package'. 1.66 Or upgrade packages at your own risk." 1.67 echo ""