postinst is in bozohttpd 20111118-1.
This file is a maintainer script. It is executed when installing (*inst) or removing (*rm) the package.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | #!/bin/sh -e
case "$1" in
abort-upgrade | abort-deconfigure | abort-remove)
update-inetd --enable www
;;
configure)
if [ -n "$2" ]; then
update-inetd --enable www
else
update-inetd --group STANDARD --add "www stream tcp nowait root /usr/sbin/tcpd /usr/sbin/bozohttpd /var/www -X -c /usr/lib/cgi-bin -U www-data -u"
fi
;;
*)
printf "$0: incorrect arguments: $*\n" >&2
exit 1
;;
esac
|