wok-6.x diff ntop/receipt @ rev 11438
libunique: patch build (thanks godane)
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Fri Dec 16 15:42:01 2011 +0100 (2011-12-16) |
parents | c3f9dd585ee1 |
children | 65dace417400 |
line diff
1.1 --- a/ntop/receipt Tue Jul 05 15:39:47 2011 +0200 1.2 +++ b/ntop/receipt Fri Dec 16 15:42:01 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()