postinst is in hybserv 1.9.5-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 19 20 | #!/bin/sh
set -e
# Show the first time notice
. /usr/share/debconf/confmodule
# Fixing potential fallout from 1.8.0-1...
chown irc:irc /etc/hybserv
db_stop
# Automatically added by dh_installinit
if [ -x "/etc/init.d/hybserv" ] || [ -e "/etc/init/hybserv.conf" ]; then
if [ ! -e "/etc/init/hybserv.conf" ]; then
update-rc.d hybserv defaults 21 >/dev/null
fi
invoke-rc.d hybserv start || exit $?
fi
# End automatically added section
|