# HG changeset patch # User Paul Issott # Date 1393090536 0 # Node ID 0daa5fc6754f12ec5a3651596c22a0388b2ab1a5 # Parent 17bc7a85aab5f10399cc6e5b4cf59661c44be557 Tiny edits diff -r 17bc7a85aab5 -r 0daa5fc6754f README --- a/README Tue Feb 18 20:38:04 2014 +0100 +++ b/README Sat Feb 22 17:35:36 2014 +0000 @@ -4,14 +4,14 @@ TazPkg is a small but powerful packages manager for SliTaz GNU/Linux and other UNIX-like operating systems. It uses a *.tazpkg package generally built -by Tazwok with a receipt found in the wok. More information can be found in +by Cookutils with a receipt found in the wok. More information can be found in the SliTaz Cookbook and the manual. TazPkg is entirely built from scratch using SHell script; compatible with Bash, it runs under Ash - part of the Busybox project. TazPkg is distributed under the free GNU license GPL V3. -Developement HG repo: http://hg.slitaz.org/tazpkg +Development HG repo: http://hg.slitaz.org/tazpkg Installation diff -r 17bc7a85aab5 -r 0daa5fc6754f tazpkg --- a/tazpkg Tue Feb 18 20:38:04 2014 +0100 +++ b/tazpkg Sat Feb 22 17:35:36 2014 +0000 @@ -2,7 +2,7 @@ # # TazPKG - Tiny autonomous zone packages manager. # -# This is a lightwight packages manager for *.tazpkg files written in SHell +# This is a lightweight packages manager for *.tazpkg files written in SHell # script. It works well with Busybox ash shell and bash. TazPKG lets you # list, install, remove, download or get information about a package. You # can use 'tazpkg usage' to get a list of commands with short descriptions. @@ -180,7 +180,7 @@ EOT } -# Check if dir exist +# Check if dir exists check_dir() { if ! [ -d "$1" ]; then @@ -342,7 +342,7 @@ # format 'alternative:newname' # if alternative is installed then substitute newname if [ -f $2$INSTALLED/${i%:*}/receipt ]; then - # substitute package dependancy + # substitute package dependency echo ${i#*:} return fi @@ -369,7 +369,7 @@ # format 'alternative:newname' # if alternative is installed then substitute newname if [ -f $2$INSTALLED/${i%:*}/receipt ]; then - # substitute package dependancy + # substitute package dependency echo ${i#*:} return fi @@ -401,7 +401,7 @@ [ "$pkg" ] && get_cache_dir && break done if [ -z "$pkg" ]; then - # Check for vitual package + # Check for virtual package local equiv equiv=$(virtual_pkg $1) if [ "$equiv" != "$1" ]; then @@ -546,7 +546,7 @@ if grep -q ^pre_depends $TMP_DIR/receipt; then pre_depends $ROOT fi - # Keep modifers and file list on upgrade + # Keep modifiers and file list on upgrade cp $ROOT$INSTALLED/$PACKAGE/modifiers \ $ROOT$INSTALLED/$PACKAGE/files.list $TMP_DIR 2> /dev/null rm -rf $ROOT$INSTALLED/$PACKAGE 2> /dev/null @@ -728,7 +728,7 @@ exit 1 } -# This function installs a package form a get script in the rootfs. +# This function installs a package from a get script in the rootfs. install_package_from_get_script() { SCRIPT="$1" @@ -1992,7 +1992,7 @@ # Install a set of packages from a flavor and purge other ones. install_flavor $2 --purge ;; set-release) - # Change curent release and upgrade packages. + # Change current release and upgrade packages. RELEASE=$2 if [ -z "$RELEASE" ]; then newline @@ -2515,7 +2515,7 @@ pkg_sum=$repo/packages.$SUM if ! fgrep -q "$md5 $PACKAGE-" $pkg_sum; then - # Jump to next repository in priority if pkg doesn't exists + # Jump to next repository in priority if pkg doesn't exist # in this one. grep -q ^$PACKAGE- $pkg_list || continue @@ -2581,7 +2581,7 @@ echo 'y' | tazpkg get-install $pkg --forced done # List is generated each time and must be cleaned so - # tazpkg-notify don't find upgrade anymore. + # tazpkg-notify doesn't find upgrades anymore. rm $UP_LIST && touch $UP_LIST ;; *) gettext "Leaving without any upgrades installed."; echo diff -r 17bc7a85aab5 -r 0daa5fc6754f tazpkg-notify --- a/tazpkg-notify Tue Feb 18 20:38:04 2014 +0100 +++ b/tazpkg-notify Sat Feb 22 17:35:36 2014 +0000 @@ -43,7 +43,7 @@ rm -f $fifo } -# Notication menu (right click) +# Notification menu (right click) menu() { cat << EOT menu:\