wok diff squirrelmail/receipt @ rev 15193

Add larch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 30 11:24:48 2013 +0000 (2013-08-30)
parents 969eb19b0ab8
children b13ed9740841
line diff
     1.1 --- a/squirrelmail/receipt	Thu Oct 13 10:45:54 2011 +0000
     1.2 +++ b/squirrelmail/receipt	Fri Aug 30 11:24:48 2013 +0000
     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()