postgresql-12/debian/postgresql-12.prerm

17 lines
210 B
Bash

#!/bin/sh
set -e
VERSION=${DPKG_MAINTSCRIPT_PACKAGE##*-}
#DEBHELPER#
. /usr/share/postgresql-common/maintscripts-functions
stop_version $VERSION
if [ "$1" = remove ]; then
remove_version $VERSION
fi