23 lines
474 B
Bash
Executable File
23 lines
474 B
Bash
Executable File
#!/bin/sh
|
|
# config maintainer script for foo-pgsql
|
|
|
|
# source debconf stuff
|
|
. /usr/share/debconf/confmodule
|
|
# source dbconfig-common shell library, and call the hook function
|
|
if [ -f /usr/share/dbconfig-common/dpkg/postrm.pgsql ]; then
|
|
. /usr/share/dbconfig-common/dpkg/postrm.pgsql
|
|
dbc_go amue-authentic2 $@
|
|
fi
|
|
|
|
DBCONF=/etc/amue-authentic2/db.conf
|
|
if [ "$1" = "purge" ]; then
|
|
rm -f $DBCONF
|
|
if which ucf >/dev/null 2>&1; then
|
|
ucf --purge $DBCONF
|
|
fi
|
|
fi
|
|
|
|
#DEBHELPER#
|
|
|
|
|