wok rev 11398

Compat: squirrelmail trigger cook of squirrelmail-* only when using cookutils - I don't think this piece of code is needed at all as squirrel-* will be cooked anyway if one update them
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Dec 10 13:19:00 2011 +0100 (2011-12-10)
parents 08db442f295b
children 6916f08d8107
files squirrelmail/receipt
line diff
     1.1 --- a/squirrelmail/receipt	Sat Dec 10 06:12:25 2011 +0100
     1.2 +++ b/squirrelmail/receipt	Sat Dec 10 13:19:00 2011 +0100
     1.3 @@ -33,12 +33,15 @@
     1.4  	chown -R www.www $fs/usr/share/squirrelmail $fs/etc/squirrelmail \
     1.5  		$fs/var/lib/squirrelmail
     1.6  	chmod 700 $fs/etc/squirrelmail
     1.7 +
     1.8  	# Package all squirrelmail pkgs
     1.9 -	cook squirrelmail-locales
    1.10 -	for i in $(cd $WOK; ls -d squirrelmail-*)
    1.11 -	do
    1.12 -		cook $i
    1.13 -	done
    1.14 +	if [ -x /usr/bin/cook ]; then
    1.15 +		cook squirrelmail-locales
    1.16 +		for i in $(cd $WOK; ls -d squirrelmail-*)
    1.17 +		do
    1.18 +			cook $i
    1.19 +		done
    1.20 +	fi
    1.21  }
    1.22  
    1.23  post_install()