wok-6.x rev 11426

Compat: ntop - don't trigger cook of splitted packages when using tazwok (that's automatic)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Dec 14 15:56:46 2011 +0100 (2011-12-14)
parents 2434bac07291
children 2796cc564a95
files ntop/receipt
line diff
     1.1 --- a/ntop/receipt	Wed Dec 14 05:23:20 2011 +0000
     1.2 +++ b/ntop/receipt	Wed Dec 14 15:56:46 2011 +0100
     1.3 @@ -47,11 +47,13 @@
     1.4  	cp -a stuff/etc $fs
     1.5  	chown root.root $fs/etc/init.d/ntop
     1.6  
     1.7 -	# Package all ntop pkgs
     1.8 -	for i in $(cd $WOK; ls -d ntop-*)
     1.9 -	do
    1.10 -		cook $i
    1.11 -	done
    1.12 +	# Package all ntop pkgs (cookutils only)
    1.13 +	if [ -x /usr/bin/cook ]; then
    1.14 +		for i in $(cd $WOK; ls -d ntop-*)
    1.15 +		do
    1.16 +			cook $i
    1.17 +		done
    1.18 +	fi
    1.19  }
    1.20  
    1.21  post_install()