2 # postinst script for freeside
4 # see: dh_installdeb(1)
9 . /usr/share/debconf/confmodule
11 # source dbconfig-common stuff
12 . /usr/share/dbconfig-common/dpkg/postinst
14 dbc_pgsql_createdb_encoding='sql_ascii'
16 #echo "i should create the db here"
18 #echo "db should be craeted now"
20 # summary of how this script can be called:
21 # * <postinst> `configure' <most-recently-configured-version>
22 # * <old-postinst> `abort-upgrade' <new version>
23 # * <conflictor's-postinst> `abort-remove' `in-favour' <package>
25 # * <postinst> `abort-remove'
26 # * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
27 # <failed-install-package> <version> `removing'
28 # <conflicting-package> <version>
29 # for details, see http://www.debian.org/doc/debian-policy/ or
30 # the debian-policy package
39 abort-upgrade|abort-remove|abort-deconfigure)
43 echo "postinst called with unknown argument \`$1'" >&2
48 # dh_installdeb will replace this with shell code automatically
49 # generated by other debhelper scripts.