3
# summary of how this script can be called:
4
# * <postinst> `configure' <most-recently-configured-version>
5
# * <old-postinst> `abort-upgrade' <new version>
6
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
8
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
9
# <failed-install-package> <version> `removing'
10
# <conflicting-package> <version>
11
# for details, see http://www.debian.org/doc/debian-policy/ or
12
# the debian-policy package
15
PUMA_CONFIG=/etc/puma.config
19
echo generating ${PUMA_CONFIG}
20
(cd /etc; /usr/bin/ag++ --gen_config)
21
chown root:root $PUMA_CONFIG
22
chmod 644 $PUMA_CONFIG
25
abort-upgrade|abort-remove|abort-deconfigure)
30
echo "postinst called with unknown argument \`$1'" >&2
35
# dh_installdeb will replace this with shell code automatically
36
# generated by other debhelper scripts.