spk rev 131

Tiny edits
author Paul Issott <paul@slitaz.org>
date Mon Mar 03 16:06:46 2014 +0000 (2014-03-03)
parents 8788606c40bb
children 34bfe92ee9f6
files lib/libspk.sh spk spk-add spk-convert spk-ls spk-mirror spk-rm spk-up
line diff
     1.1 --- a/lib/libspk.sh	Sun Jan 05 09:34:33 2014 +0000
     1.2 +++ b/lib/libspk.sh	Mon Mar 03 16:06:46 2014 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  #!/bin/sh
     1.5  #
     1.6  # Libspk - The Spk base function and internal variables used by almost all
     1.7 -# spk-tools. Read the README before adding or modifing any code in spk!
     1.8 +# spk-tools. Read the README before adding or modifying any code in spk!
     1.9  #
    1.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    1.11  # Author: See AUTHORS files
    1.12 @@ -231,13 +231,13 @@
    1.13  	cd - > /dev/null
    1.14  }
    1.15  
    1.16 -# Unser var set by mirrored_pkg
    1.17 +# Unset var set by mirrored_pkg
    1.18  unset_mirrored() {
    1.19  	unset mirrored mirror db pwd
    1.20  }
    1.21  
    1.22  # Return the full package name, search in all packages.desc and break when
    1.23 -# first occurance is found: Usage: full_package pkgname
    1.24 +# first occurrence is found: Usage: full_package pkgname
    1.25  full_package() {
    1.26  	for desc in $(find $extradb $pkgsdesc -name packages.desc); do
    1.27  		local line="$(grep "^$1 |" $desc)"
    1.28 @@ -268,7 +268,7 @@
    1.29  			# format 'alternative:newname'
    1.30  			# if alternative is installed then substitute newname
    1.31  			if is_package_installed ${i%:*}; then
    1.32 -				# substitute package dependancy
    1.33 +				# substitute package dependency
    1.34  				echo ${i#*:}
    1.35  				return
    1.36  			fi
     2.1 --- a/spk	Sun Jan 05 09:34:33 2014 +0000
     2.2 +++ b/spk	Mon Mar 03 16:06:46 2014 +0000
     2.3 @@ -1,7 +1,7 @@
     2.4  #!/bin/sh
     2.5  #
     2.6  # Spk - The SliTaz Packages toolset. Read the README before adding or
     2.7 -# modifing any code in spk!
     2.8 +# modifying any code in spk!
     2.9  #
    2.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    2.11  # Author: See AUTHORS files
     3.1 --- a/spk-add	Sun Jan 05 09:34:33 2014 +0000
     3.2 +++ b/spk-add	Mon Mar 03 16:06:46 2014 +0000
     3.3 @@ -1,7 +1,7 @@
     3.4  #!/bin/sh
     3.5  #
     3.6  # Spk-add - Install SliTaz packages. Read the README before adding or
     3.7 -# modifing any code in spk!
     3.8 +# modifying any code in spk!
     3.9  #
    3.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    3.11  # Author: See AUTHORS files
     4.1 --- a/spk-convert	Sun Jan 05 09:34:33 2014 +0000
     4.2 +++ b/spk-convert	Mon Mar 03 16:06:46 2014 +0000
     4.3 @@ -1,7 +1,7 @@
     4.4  #!/bin/sh
     4.5  #
     4.6  # Spk-convert - Convert other distribution's packages to tazpkg form. Read the README before adding or
     4.7 -# modifing any code in spk!
     4.8 +# modifying any code in spk!
     4.9  #
    4.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    4.11  # Author: See AUTHORS files
    4.12 @@ -73,7 +73,7 @@
    4.13  		echo $(boldify "Packing :") $package
    4.14  		separator
    4.15  		
    4.16 -		# Create files.list with redirecting find outpout.
    4.17 +		# Create files.list with redirecting find output.
    4.18  		gettext "Creating the list of files..."
    4.19  		cd $fs
    4.20  		find . -type f -print > $dir/files.list
     5.1 --- a/spk-ls	Sun Jan 05 09:34:33 2014 +0000
     5.2 +++ b/spk-ls	Mon Mar 03 16:06:46 2014 +0000
     5.3 @@ -1,7 +1,7 @@
     5.4  #!/bin/sh
     5.5  #
     5.6  # Spk-ls - List SliTaz packages and files. Read the README before adding or
     5.7 -# modifing any code in spk!
     5.8 +# modifying any code in spk!
     5.9  #
    5.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    5.11  # Author: See AUTHORS files
     6.1 --- a/spk-mirror	Sun Jan 05 09:34:33 2014 +0000
     6.2 +++ b/spk-mirror	Mon Mar 03 16:06:46 2014 +0000
     6.3 @@ -1,7 +1,7 @@
     6.4  #!/bin/sh
     6.5  #
     6.6  # Spk-mirror - Handle SliTaz packages mirrors. Read the README before
     6.7 -# adding or modifing any code in spk!
     6.8 +# adding or modifying any code in spk!
     6.9  #
    6.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    6.11  # Author: See AUTHORS files
     7.1 --- a/spk-rm	Sun Jan 05 09:34:33 2014 +0000
     7.2 +++ b/spk-rm	Mon Mar 03 16:06:46 2014 +0000
     7.3 @@ -1,7 +1,7 @@
     7.4  #!/bin/sh
     7.5  #
     7.6  # Spk-rm - Remove SliTaz packages. Read the README before adding or
     7.7 -# modifing any code in spk!
     7.8 +# modifying any code in spk!
     7.9  #
    7.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    7.11  # Author: See AUTHORS files
     8.1 --- a/spk-up	Sun Jan 05 09:34:33 2014 +0000
     8.2 +++ b/spk-up	Mon Mar 03 16:06:46 2014 +0000
     8.3 @@ -1,7 +1,7 @@
     8.4  #!/bin/sh
     8.5  #
     8.6  # Spk-up - Update packages. Read the README before adding or
     8.7 -# modifing any code in spk!
     8.8 +# modifying any code in spk!
     8.9  #
    8.10  # Copyright (C) SliTaz GNU/Linux - BSD License
    8.11  # Author: See AUTHORS files