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
970 B
Bash
39 lines
970 B
Bash
#!/bin/sh
|
|
#
|
|
# see: dh_installdeb(1)
|
|
|
|
set -e
|
|
|
|
# summary of how this script can be called:
|
|
# * <prerm> `remove'
|
|
# * <old-prerm> `upgrade' <new-version>
|
|
# * <new-prerm> `failed-upgrade' <old-version>
|
|
# * <conflictor's-prerm> `remove' `in-favour' <package> <new-version>
|
|
# * <deconfigured's-prerm> `deconfigure' `in-favour'
|
|
# <package-being-installed> <version> `removing'
|
|
# <conflicting-package> <version>
|
|
# for details, see http://www.debian.org/doc/debian-policy/ or
|
|
# the debian-policy package
|
|
|
|
|
|
case "$1" in
|
|
remove|upgrade|deconfigure)
|
|
update-alternatives --remove puppet-module-postgresql /usr/share/puppet/modules.available/puppetlabs-postgresql
|
|
;;
|
|
|
|
failed-upgrade)
|
|
;;
|
|
|
|
*)
|
|
echo "prerm 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
|