Viewing File: /usr/share/doc/dbconfig-common/examples/db-test-pgsql-migration-2.0/debian/postrm

#!/bin/sh

set -e
#set -x

if [ -f /usr/share/debconf/confmodule ]; then
	. /usr/share/debconf/confmodule
fi
if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then
	. /usr/share/dbconfig-common/dpkg/postrm.pgsql 
fi
dbc_go db-test-pgsql-migration "$@"

if [ "$1" = "purge" ]; then
	rm -f /etc/db-test-pgsql-migration/db.new.conf
	if which ucf >/dev/null 2>&1; then
		ucf --purge /etc/db-test-pgsql-migration/db.new.conf
		ucfr --purge db-test-pgsql-migration /etc/db-test-pgsql-migration/db.new.conf
	fi
fi

#DEBHELPER#
Back to Directory File Manager