File debian.zeek-6.0-zkg.postinst of Package zeek-6.0
#!/bin/sh
/usr/bin/getent group zeek >/dev/null || /usr/sbin/groupadd -r zeek
#mkdir -p /opt/zeek/lib/zeek/plugins/packages
#mkdir -p /opt/zeek/share/zeek/site/packages
chgrp zeek /opt/zeek/etc/zkg
chgrp zeek /opt/zeek/etc/zkg/config
#chgrp zeek /opt/zeek/lib/zeek/plugins/packages
#chgrp zeek /opt/zeek/share/zeek/site/packages
#chgrp zeek /opt/zeek/var/lib/zkg
chmod 0664 /opt/zeek/etc/zkg/config
#chmod 2775 /opt/zeek/lib/zeek/plugins/packages
#chmod 2775 /opt/zeek/share/zeek/site/packages
#chmod 2775 /opt/zeek/var/lib/zkg