wok-next diff ntop/receipt @ rev 11428
Add: snort-mysql
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Thu Dec 15 10:43:50 2011 +0100 (2011-12-15) |
parents | c3f9dd585ee1 |
children | 65dace417400 |
line diff
1.1 --- a/ntop/receipt Tue Jul 05 15:39:47 2011 +0200 1.2 +++ b/ntop/receipt Thu Dec 15 10:43:50 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()