tazpkg rev 662
Tiny edits
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Feb 22 17:35:36 2014 +0000 (2014-02-22) |
parents | 17bc7a85aab5 |
children | e959c9d3daea |
files | README tazpkg tazpkg-notify |
line diff
1.1 --- a/README Tue Feb 18 20:38:04 2014 +0100 1.2 +++ b/README Sat Feb 22 17:35:36 2014 +0000 1.3 @@ -4,14 +4,14 @@ 1.4 1.5 TazPkg is a small but powerful packages manager for SliTaz GNU/Linux and 1.6 other UNIX-like operating systems. It uses a *.tazpkg package generally built 1.7 -by Tazwok with a receipt found in the wok. More information can be found in 1.8 +by Cookutils with a receipt found in the wok. More information can be found in 1.9 the SliTaz Cookbook and the manual. 1.10 1.11 TazPkg is entirely built from scratch using SHell script; compatible with 1.12 Bash, it runs under Ash - part of the Busybox project. TazPkg is distributed 1.13 under the free GNU license GPL V3. 1.14 1.15 -Developement HG repo: http://hg.slitaz.org/tazpkg 1.16 +Development HG repo: http://hg.slitaz.org/tazpkg 1.17 1.18 1.19 Installation
2.1 --- a/tazpkg Tue Feb 18 20:38:04 2014 +0100 2.2 +++ b/tazpkg Sat Feb 22 17:35:36 2014 +0000 2.3 @@ -2,7 +2,7 @@ 2.4 # 2.5 # TazPKG - Tiny autonomous zone packages manager. 2.6 # 2.7 -# This is a lightwight packages manager for *.tazpkg files written in SHell 2.8 +# This is a lightweight packages manager for *.tazpkg files written in SHell 2.9 # script. It works well with Busybox ash shell and bash. TazPKG lets you 2.10 # list, install, remove, download or get information about a package. You 2.11 # can use 'tazpkg usage' to get a list of commands with short descriptions. 2.12 @@ -180,7 +180,7 @@ 2.13 EOT 2.14 } 2.15 2.16 -# Check if dir exist 2.17 +# Check if dir exists 2.18 check_dir() 2.19 { 2.20 if ! [ -d "$1" ]; then 2.21 @@ -342,7 +342,7 @@ 2.22 # format 'alternative:newname' 2.23 # if alternative is installed then substitute newname 2.24 if [ -f $2$INSTALLED/${i%:*}/receipt ]; then 2.25 - # substitute package dependancy 2.26 + # substitute package dependency 2.27 echo ${i#*:} 2.28 return 2.29 fi 2.30 @@ -369,7 +369,7 @@ 2.31 # format 'alternative:newname' 2.32 # if alternative is installed then substitute newname 2.33 if [ -f $2$INSTALLED/${i%:*}/receipt ]; then 2.34 - # substitute package dependancy 2.35 + # substitute package dependency 2.36 echo ${i#*:} 2.37 return 2.38 fi 2.39 @@ -401,7 +401,7 @@ 2.40 [ "$pkg" ] && get_cache_dir && break 2.41 done 2.42 if [ -z "$pkg" ]; then 2.43 - # Check for vitual package 2.44 + # Check for virtual package 2.45 local equiv 2.46 equiv=$(virtual_pkg $1) 2.47 if [ "$equiv" != "$1" ]; then 2.48 @@ -546,7 +546,7 @@ 2.49 if grep -q ^pre_depends $TMP_DIR/receipt; then 2.50 pre_depends $ROOT 2.51 fi 2.52 - # Keep modifers and file list on upgrade 2.53 + # Keep modifiers and file list on upgrade 2.54 cp $ROOT$INSTALLED/$PACKAGE/modifiers \ 2.55 $ROOT$INSTALLED/$PACKAGE/files.list $TMP_DIR 2> /dev/null 2.56 rm -rf $ROOT$INSTALLED/$PACKAGE 2> /dev/null 2.57 @@ -728,7 +728,7 @@ 2.58 exit 1 2.59 } 2.60 2.61 -# This function installs a package form a get script in the rootfs. 2.62 +# This function installs a package from a get script in the rootfs. 2.63 install_package_from_get_script() 2.64 { 2.65 SCRIPT="$1" 2.66 @@ -1992,7 +1992,7 @@ 2.67 # Install a set of packages from a flavor and purge other ones. 2.68 install_flavor $2 --purge ;; 2.69 set-release) 2.70 - # Change curent release and upgrade packages. 2.71 + # Change current release and upgrade packages. 2.72 RELEASE=$2 2.73 if [ -z "$RELEASE" ]; then 2.74 newline 2.75 @@ -2515,7 +2515,7 @@ 2.76 pkg_sum=$repo/packages.$SUM 2.77 2.78 if ! fgrep -q "$md5 $PACKAGE-" $pkg_sum; then 2.79 - # Jump to next repository in priority if pkg doesn't exists 2.80 + # Jump to next repository in priority if pkg doesn't exist 2.81 # in this one. 2.82 grep -q ^$PACKAGE- $pkg_list || continue 2.83 2.84 @@ -2581,7 +2581,7 @@ 2.85 echo 'y' | tazpkg get-install $pkg --forced 2.86 done 2.87 # List is generated each time and must be cleaned so 2.88 - # tazpkg-notify don't find upgrade anymore. 2.89 + # tazpkg-notify doesn't find upgrades anymore. 2.90 rm $UP_LIST && touch $UP_LIST ;; 2.91 *) 2.92 gettext "Leaving without any upgrades installed."; echo