aboutsummaryrefslogtreecommitdiffstats
path: root/keystone-moon/debian/keystone.prerm
diff options
context:
space:
mode:
authorRuan HE <ruan.he@orange.com>2016-08-01 15:58:12 +0000
committerGerrit Code Review <gerrit@172.30.200.206>2016-08-01 15:58:12 +0000
commitea6a3a5f04ff8f657bfd325dd37121a017a5560c (patch)
tree2b785977d515cf0f8adb8e4a3fcc013a5b5fe39b /keystone-moon/debian/keystone.prerm
parent72bc80411c9d9ca9040344c419902cee91277e96 (diff)
parent860e7fd7b81f956b54b25224efbd69ff9b1d1cc7 (diff)
Merge "Update script for debian package creation."
Diffstat (limited to 'keystone-moon/debian/keystone.prerm')
-rw-r--r--keystone-moon/debian/keystone.prerm15
1 files changed, 15 insertions, 0 deletions
diff --git a/keystone-moon/debian/keystone.prerm b/keystone-moon/debian/keystone.prerm
new file mode 100644
index 00000000..9f89a1ae
--- /dev/null
+++ b/keystone-moon/debian/keystone.prerm
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_get keystone/configure_db
+if [ "$RET" = "true" ]; then
+ . /usr/share/dbconfig-common/dpkg/prerm
+ dbc_go keystone $@
+fi
+
+#DEBHELPER#
+
+exit 0