pkg://postgresql-7.4_7.4.19-0etch1_ia64.deb:3908578/postinst
info downloads
#!/bin/sh -e
VERSION=7.4
. /usr/share/postgresql-common/maintscripts-functions
if [ "$1" = configure ]; then
configure_version $VERSION "$2"
fi
# Automatically added by dh_installinit
if [ -x "/etc/init.d/postgresql-7.4" ]; then
update-rc.d postgresql-7.4 defaults 19 >/dev/null
if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
invoke-rc.d postgresql-7.4 start || exit $?
else
/etc/init.d/postgresql-7.4 start || exit $?
fi
fi
# End automatically added section