# HG changeset patch # User Paul Issott # Date 1236793725 0 # Node ID 0a9d95c7f42b6362879ac22b9345b4e8ec87266b # Parent acde50fb07a52d190a72ae27138153ddf7fc78d8 Fix typos diff -r acde50fb07a5 -r 0a9d95c7f42b lib/tazpkgbox/package_infos --- a/lib/tazpkgbox/package_infos Mon Mar 09 11:52:54 2009 +0000 +++ b/lib/tazpkgbox/package_infos Wed Mar 11 17:48:45 2009 +0000 @@ -170,7 +170,7 @@ " -# Installed or not installed, that the question. +# Installed or not installed, that is the question! if [ -d /var/lib/tazpkg/installed/$PKG ]; then PACKED_SIZE="" DEPENDS="" diff -r acde50fb07a5 -r 0a9d95c7f42b tazpkg --- a/tazpkg Mon Mar 09 11:52:54 2009 +0000 +++ b/tazpkg Wed Mar 11 17:48:45 2009 +0000 @@ -1,5 +1,5 @@ #!/bin/sh -# Tazpkg - Tiny autonomus zone packages manager. +# Tazpkg - Tiny autonomous zone packages manager. # # This is a lightwight packages manager for *.tazpkg files, all written in # SHell script. It works well with Busybox ash shell and bash. Tazpkg lets you @@ -118,8 +118,8 @@ install-flavor Install the flavor list of packages and remove other ones. set-release Change release and update packages clean-cache Clean all packages downloaded in cache directory. - depends Display dependancies tree. - rdepends Display reverse dependancies tree. + depends Display dependencies tree. + rdepends Display reverse dependencies tree. setup-mirror Change the mirror url configuration. list-undigest List undigest mirrors. remove-undigest Remove an undigest mirror. @@ -558,7 +558,7 @@ # the TAZPKG_BASENAME in the local packages.list. found=0 if [ -f "$list" ]; then - echo "Checking if $pkg exist in local list... " + echo "Checking if $pkg exists in local list... " mkdir $TMP_DIR for i in $pkg-*.tazpkg; do [ -f $i ] || continue @@ -812,7 +812,7 @@ echo "" } -# recursive dependancies scan +# recursive dependencies scan dep_scan() { for i in $1; do @@ -828,7 +828,7 @@ done } -# recursive reverse dependancies scan +# recursive reverse dependencies scan rdep_scan() { for i in $1; do @@ -961,7 +961,7 @@ echo "" ;; list-mirror) - # List all available packages on the mirror. Option --diff display + # List all available packages on the mirror. Option --diff displays # last mirrored packages diff (see recharge). check_for_packages_list case $2 in @@ -1650,7 +1650,7 @@ NEW_PACKAGE=$(get_package_filename $PACKAGE) if [ -n "$NEW_PACKAGE" ]; then - # Set new pkg and version for futur comparaison + # Set new pkg and version for future comparison NEW_VERSION=`echo $NEW_PACKAGE | sed s/$PACKAGE-/''/` # Change '-' and 'pre' to points. NEW_VERSION=`echo $NEW_VERSION | sed s/'-'/'.'/` @@ -1659,9 +1659,9 @@ VERSION=`echo $VERSION | sed s/'pre'/'.'/` NEW_VERSION=`echo $NEW_VERSION | sed 's/[A-Z]\.//'` VERSION=`echo $VERSION | sed 's/[A-Z]\.//'` - # Compare version. Upgrade are only available for official - # packages, so we control de mirror and it should be ok if - # we just check for egality. + # Compare version. Upgrades are only available for official + # packages, so we control the mirror and it should be ok if + # we just check for equality. RELEASE="" if [ -f installed.md5 -a -f packages.md5 ]; then current_md5=$(grep -s " $PACKAGE-$VERSION" installed.md5 | awk '{ print $1 }') @@ -1735,7 +1735,7 @@ if [ "$FIXE" == "yes" ]; then echo -e "$WARNING ---> Installed package seems more recent than the mirrored one." echo "You can block packages using the command : 'tazpkg block package'" - echo "Or upgrade package at you own risks." + echo "Or upgrade packages at your own risk." echo "" fi # Ask for upgrade, it can be done another time. @@ -2100,7 +2100,7 @@ done ;; depends) - # Display dependancies tree + # Display dependencies tree cd $INSTALLED ALL_DEPS="" if [ -f $2/receipt ]; then @@ -2108,7 +2108,7 @@ fi ;; rdepends) - # Display reverse dependancies tree + # Display reverse dependencies tree cd $INSTALLED ALL_DEPS="" if [ -f $2/receipt ]; then diff -r acde50fb07a5 -r 0a9d95c7f42b tazpkgbox --- a/tazpkgbox Mon Mar 09 11:52:54 2009 +0000 +++ b/tazpkgbox Wed Mar 11 17:48:45 2009 +0000 @@ -1,8 +1,8 @@ #!/bin/sh # # GTKdialog interface to SliTaz Packages Manager aka Tazpkg. Notes: -# Notebook tab are vbox, tab are used to indent and functions are -# splited ang found in $LIB. +# Notebook tab are vbox, tabs are used to indent and functions are +# split and found in $LIB. # # (C) GNU gpl v3 - SliTaz GNU/Linux 2009. # @@ -22,15 +22,15 @@ tazpkg >/dev/null fi -# Tmp dir and files used to get pkgs infos on the fly. Clean also -# list and search files to load less data and have a faster start. +# Tmp dir and files used to get pkgs info on the fly. Clean also +# lists and searches for files to load less data and have a faster start. mkdir -p /tmp/tazpkgbox echo "all" > /tmp/tazpkgbox/status echo "all" > /tmp/tazpkgbox/category echo "all" > /tmp/tazpkgbox/undigest-category echo "" > /tmp/tazpkgbox/search -# English/French help dialod. +# English/French help dialog. export HELP=' @@ -155,7 +155,7 @@ ' -# Scan notifycation +# Scan notification desktopbox notify "Scanning packages database" 6 & # Main dialog