cookutils diff cookiso @ rev 1072

cook, lighttpd/index.cgi: add */share/metainfo/* to the "GNOME goodies" and exclude they from @std; modules/compressor: cache compressed gif's too
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Jun 09 12:24:58 2018 +0300 (2018-06-09)
parents 44cab2ed0acf
children 540ed51fe3fb
line diff
     1.1 --- a/cookiso	Fri Sep 08 14:16:06 2017 +0300
     1.2 +++ b/cookiso	Sat Jun 09 12:24:58 2018 +0300
     1.3 @@ -117,11 +117,12 @@
     1.4  	mkdir -p $cache; cd $cache
     1.5  	rm -rf *.flavor *.list *.conf *.sh
     1.6  	for flavor in $flavors; do
     1.7 -		if [ "$flavor" != 'core-4in1' ]; then
     1.8 -			name="slitaz-$string-$flavor"
     1.9 -		else
    1.10 -			name="slitaz-$string"
    1.11 -		fi
    1.12 +		case "$flavor" in
    1.13 +		core-*in1)
    1.14 +			name="slitaz-$string-$flavor" ;;
    1.15 +		*)
    1.16 +			name="slitaz-$string" ;;
    1.17 +		esac
    1.18  
    1.19  		log="$iso/$name.log"
    1.20  		for i in $(seq 9 -1 1); do # Rotate log
    1.21 @@ -159,7 +160,7 @@
    1.22  	export DROPBEAR_PASSWORD=none
    1.23  	for flavor in $flavors; do
    1.24  		distro="slitaz-${string}-$flavor"
    1.25 -		file="${distro%-core-4in1}"
    1.26 +		file="${distro%-core-*in1}"
    1.27  		rsync $BWLIMIT -vtP -e "$SSH_CMD" $iso/$file.??? \
    1.28  			${SSH_HOST}:$SSH_ISO/$string 2>&1 | tee $synclog
    1.29  	done
    1.30 @@ -211,9 +212,9 @@
    1.31  		echo -e "\nGenerating flavors:\n$flavors"
    1.32  		gen_flavors ;;
    1.33  
    1.34 -	4in1)
    1.35 -		echo -e "\nGenerating 4in1 distros..."
    1.36 -		flavors="base justx gtkonly core core-4in1"
    1.37 +	*in1)
    1.38 +		echo -e "\nGenerating $1 distros..."
    1.39 +		flavors="base justx gtkonly core core-$1"
    1.40  		gen_flavors ;;
    1.41  
    1.42  	rolling)