#!/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