cookutils diff cook @ rev 854

Tiny edits
author Paul Issott <paul@slitaz.org>
date Wed Dec 21 17:36:29 2016 +0000 (2016-12-21)
parents 9e21916774fb
children 91d0347ac834
line diff
     1.1 --- a/cook	Mon Dec 19 05:42:15 2016 +0200
     1.2 +++ b/cook	Wed Dec 21 17:36:29 2016 +0000
     1.3 @@ -642,7 +642,7 @@
     1.4  	elocales=" $(ls -1 "$fs/usr/share/locale" | tr '\n' ' ') "
     1.5  
     1.6  	# Thin out the list of existing locales. At the end there will be only locales that need
     1.7 -	# to delete (and the garbage like '_AU', _US', '_BR' leaving from 'en_AU', 'en_US', 'pt_BR'...)
     1.8 +	# deleting (and the garbage like '_AU', _US', '_BR' leaving from 'en_AU', 'en_US', 'pt_BR'...)
     1.9  	for keep_locale in $LOCALE; do
    1.10  		elocales=${elocales//$keep_locale}
    1.11  	done
    1.12 @@ -790,7 +790,7 @@
    1.13  }
    1.14  
    1.15  
    1.16 -# Remove files provided by splitted packages
    1.17 +# Remove files provided by split packages
    1.18  # For example:
    1.19  #   1. Package "pkg-main":
    1.20  #      SPLIT="pkg-1 pkg-2 pkg-extra"
    1.21 @@ -802,7 +802,7 @@
    1.22  
    1.23  cook_split_rm() {
    1.24  	for i in $@; do
    1.25 -		action 'Remove files provided by splitted package %s...' "$i"
    1.26 +		action 'Remove files provided by split package %s...' "$i"
    1.27  		while read j; do
    1.28  			[ -f "$fs$j" -o -h "$fs$j" ] && rm $fs$j
    1.29  			rmdir "$(dirname "$fs$j")" 2>/dev/null
    1.30 @@ -1201,7 +1201,7 @@
    1.31  	fi
    1.32  
    1.33  	# Actions to do after compiling the package
    1.34 -	# Skip all for splitted packages (already done in main package)
    1.35 +	# Skip all for split packages (already done in main package)
    1.36  	if [ -z "$WANTED" ]; then
    1.37  		footer
    1.38  		compress_manpages