919c8f200a
Update puppetlabs-postgresql to 8.0.0, since it fully supports Debian bullseye, and the version we were using doesn't support it fully. This does not affect Centos builds at all. Test Plan PASS Build packages PASS Test ISO install Story: 2009101 Task: 43326 Depends-On: https://review.opendev.org/c/starlingx/utilities/+/840497 Signed-off-by: Charles Short <charles.short@windriver.com> Change-Id: I195003be09af86d3430fe901057ec4bf559c51ed
39 lines
1.1 KiB
Bash
39 lines
1.1 KiB
Bash
#!/bin/sh
|
|
#
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
# summary of how this script can be called:
|
|
# * <postinst> `configure' <most-recently-configured-version>
|
|
# * <old-postinst> `abort-upgrade' <new version>
|
|
# * <conflictor's-postinst> `abort-remove' `in-favour' <package>
|
|
# <new-version>
|
|
# * <postinst> `abort-remove'
|
|
# * <deconfigured's-postinst> `abort-deconfigure' `in-favour'
|
|
# <failed-install-package> <version> `removing'
|
|
# <conflicting-package> <version>
|
|
# for details, see http://www.debian.org/doc/debian-policy/ or
|
|
# the debian-policy package
|
|
|
|
case "$1" in
|
|
configure)
|
|
update-alternatives --install /usr/share/puppet/modules/postgresql puppet-module-postgresql /usr/share/puppet/modules.available/puppetlabs-postgresql 500
|
|
;;
|
|
|
|
abort-upgrade|abort-remove|abort-deconfigure)
|
|
;;
|
|
|
|
*)
|
|
echo "postinst called with unknown argument \`$1'" >&2
|
|
exit 1
|
|
;;
|
|
esac
|
|
|
|
# dh_installdeb will replace this with shell code automatically
|
|
# generated by other debhelper scripts.
|
|
|
|
#DEBHELPER#
|
|
|
|
exit 0
|