diff options
Diffstat (limited to 'keystone-moon/debian/keystone.postrm')
-rw-r--r-- | keystone-moon/debian/keystone.postrm | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/keystone-moon/debian/keystone.postrm b/keystone-moon/debian/keystone.postrm new file mode 100644 index 00000000..0c32667d --- /dev/null +++ b/keystone-moon/debian/keystone.postrm @@ -0,0 +1,18 @@ +#!/bin/sh + +set -e + +if [ "${1}" = "purge" ] ; then + if [ -f /usr/share/debconf/confmodule ] && [ -f /usr/share/dbconfig-common/dpkg/postrm ] ; then + . /usr/share/debconf/confmodule + + db_get keystone/configure_db + if [ "$RET" = "true" ] ; then + . /usr/share/dbconfig-common/dpkg/postrm + dbc_go keystone $@ + fi + fi + rm -rf /var/log/keystone /var/lib/keystone /etc/keystone +fi + +#DEBHELPER# |