tazpkg rev 247

Fix typos
author Paul Issott <paul@slitaz.org>
date Wed Mar 11 17:48:45 2009 +0000 (2009-03-11)
parents acde50fb07a5
children 4790e7d52f42
files lib/tazpkgbox/package_infos tazpkg tazpkgbox
line diff
     1.1 --- a/lib/tazpkgbox/package_infos	Mon Mar 09 11:52:54 2009 +0000
     1.2 +++ b/lib/tazpkgbox/package_infos	Wed Mar 11 17:48:45 2009 +0000
     1.3 @@ -170,7 +170,7 @@
     1.4  </window>
     1.5  "
     1.6  
     1.7 -# Installed or not installed, that the question.
     1.8 +# Installed or not installed, that is the question!
     1.9  if [ -d /var/lib/tazpkg/installed/$PKG ]; then
    1.10  	PACKED_SIZE=""
    1.11  	DEPENDS=""
     2.1 --- a/tazpkg	Mon Mar 09 11:52:54 2009 +0000
     2.2 +++ b/tazpkg	Wed Mar 11 17:48:45 2009 +0000
     2.3 @@ -1,5 +1,5 @@
     2.4  #!/bin/sh
     2.5 -# Tazpkg - Tiny autonomus zone packages manager.
     2.6 +# Tazpkg - Tiny autonomous zone packages manager.
     2.7  #
     2.8  # This is a lightwight packages manager for *.tazpkg files, all written in
     2.9  # SHell script. It works well with Busybox ash shell and bash. Tazpkg lets you
    2.10 @@ -118,8 +118,8 @@
    2.11    install-flavor   Install the flavor list of packages and remove other ones.
    2.12    set-release      Change release and update packages
    2.13    clean-cache      Clean all packages downloaded in cache directory.
    2.14 -  depends          Display dependancies tree.
    2.15 -  rdepends         Display reverse dependancies tree.
    2.16 +  depends          Display dependencies tree.
    2.17 +  rdepends         Display reverse dependencies tree.
    2.18    setup-mirror     Change the mirror url configuration.
    2.19    list-undigest    List undigest mirrors.
    2.20    remove-undigest  Remove an undigest mirror.
    2.21 @@ -558,7 +558,7 @@
    2.22  				# the TAZPKG_BASENAME in the local packages.list.
    2.23  				found=0
    2.24  				if [ -f "$list" ]; then
    2.25 -					echo "Checking if $pkg exist in local list... "
    2.26 +					echo "Checking if $pkg exists in local list... "
    2.27  					mkdir $TMP_DIR
    2.28  					for i in $pkg-*.tazpkg; do
    2.29  						[ -f $i ] || continue
    2.30 @@ -812,7 +812,7 @@
    2.31  	echo ""
    2.32  }
    2.33  
    2.34 -# recursive dependancies scan
    2.35 +# recursive dependencies scan
    2.36  dep_scan()
    2.37  {
    2.38  for i in $1; do
    2.39 @@ -828,7 +828,7 @@
    2.40  done
    2.41  }
    2.42  
    2.43 -# recursive reverse dependancies scan
    2.44 +# recursive reverse dependencies scan
    2.45  rdep_scan()
    2.46  {
    2.47  for i in $1; do
    2.48 @@ -961,7 +961,7 @@
    2.49  		echo ""
    2.50  		;;
    2.51  	list-mirror)
    2.52 -		# List all available packages on the mirror. Option --diff display
    2.53 +		# List all available packages on the mirror. Option --diff displays
    2.54  		# last mirrored packages diff (see recharge).
    2.55  		check_for_packages_list
    2.56  		case $2 in
    2.57 @@ -1650,7 +1650,7 @@
    2.58  				NEW_PACKAGE=$(get_package_filename $PACKAGE)
    2.59  
    2.60  				if [ -n "$NEW_PACKAGE" ]; then
    2.61 -					# Set new pkg and version for futur comparaison
    2.62 +					# Set new pkg and version for future comparison
    2.63  					NEW_VERSION=`echo $NEW_PACKAGE | sed s/$PACKAGE-/''/`
    2.64  					# Change '-' and 'pre' to points.
    2.65  					NEW_VERSION=`echo $NEW_VERSION | sed s/'-'/'.'/`
    2.66 @@ -1659,9 +1659,9 @@
    2.67  					VERSION=`echo $VERSION | sed s/'pre'/'.'/`
    2.68  					NEW_VERSION=`echo $NEW_VERSION | sed 's/[A-Z]\.//'`
    2.69  					VERSION=`echo $VERSION | sed 's/[A-Z]\.//'`
    2.70 -					# Compare version. Upgrade are only available for official
    2.71 -					# packages, so we control de mirror and it should be ok if
    2.72 -					# we just check for egality.
    2.73 +					# Compare version. Upgrades are only available for official
    2.74 +					# packages, so we control the mirror and it should be ok if
    2.75 +					# we just check for equality.
    2.76  					RELEASE=""
    2.77  					if [ -f installed.md5 -a -f packages.md5 ]; then
    2.78  						current_md5=$(grep -s "  $PACKAGE-$VERSION" installed.md5 | awk '{ print $1 }')
    2.79 @@ -1735,7 +1735,7 @@
    2.80  		if [ "$FIXE" == "yes" ]; then
    2.81  			echo -e "$WARNING ---> Installed package seems more recent than the mirrored one."
    2.82  			echo "You can block packages using the command : 'tazpkg block package'"
    2.83 -			echo "Or upgrade package at you own risks."
    2.84 +			echo "Or upgrade packages at your own risk."
    2.85  			echo ""
    2.86  		fi
    2.87  		# Ask for upgrade, it can be done another time.
    2.88 @@ -2100,7 +2100,7 @@
    2.89  		done
    2.90  		;;
    2.91  	depends)
    2.92 -		# Display dependancies tree
    2.93 +		# Display dependencies tree
    2.94  		cd $INSTALLED
    2.95  		ALL_DEPS=""
    2.96  		if [ -f $2/receipt ]; then
    2.97 @@ -2108,7 +2108,7 @@
    2.98  		fi
    2.99  		;;
   2.100  	rdepends)
   2.101 -		# Display reverse dependancies tree
   2.102 +		# Display reverse dependencies tree
   2.103  		cd $INSTALLED
   2.104  		ALL_DEPS=""
   2.105  		if [ -f $2/receipt ]; then
     3.1 --- a/tazpkgbox	Mon Mar 09 11:52:54 2009 +0000
     3.2 +++ b/tazpkgbox	Wed Mar 11 17:48:45 2009 +0000
     3.3 @@ -1,8 +1,8 @@
     3.4  #!/bin/sh
     3.5  #
     3.6  # GTKdialog interface to SliTaz Packages Manager aka Tazpkg. Notes: 
     3.7 -# Notebook tab are vbox, tab are used to indent and functions are 
     3.8 -# splited ang found in $LIB.
     3.9 +# Notebook tab are vbox, tabs are used to indent and functions are 
    3.10 +# split and found in $LIB.
    3.11  #
    3.12  # (C) GNU gpl v3 - SliTaz GNU/Linux 2009.
    3.13  #
    3.14 @@ -22,15 +22,15 @@
    3.15  	tazpkg >/dev/null
    3.16  fi
    3.17  
    3.18 -# Tmp dir and files used to get pkgs infos on the fly. Clean also
    3.19 -# list and search files to load less data and have a faster start.
    3.20 +# Tmp dir and files used to get pkgs info on the fly. Clean also
    3.21 +# lists and searches for files to load less data and have a faster start.
    3.22  mkdir -p /tmp/tazpkgbox
    3.23  echo "all" > /tmp/tazpkgbox/status
    3.24  echo "all" > /tmp/tazpkgbox/category
    3.25  echo "all" > /tmp/tazpkgbox/undigest-category
    3.26  echo "" > /tmp/tazpkgbox/search
    3.27  
    3.28 -# English/French help dialod.
    3.29 +# English/French help dialog.
    3.30  export HELP='
    3.31  <window title="Tazpkgbox Help" icon-name="help">
    3.32  <vbox>
    3.33 @@ -155,7 +155,7 @@
    3.34  </window>
    3.35  '
    3.36  
    3.37 -# Scan notifycation
    3.38 +# Scan notification
    3.39  desktopbox notify "Scanning packages database" 6 &
    3.40  
    3.41  # Main dialog