]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Added missing heat-engine.prerm to deconfigure the db.
authorThomas Goirand <thomas@goirand.fr>
Mon, 4 Mar 2013 07:41:39 +0000 (07:41 +0000)
committerThomas Goirand <thomas@goirand.fr>
Mon, 4 Mar 2013 07:41:39 +0000 (07:41 +0000)
Rewritten-From: 9221af3de90249e997d56b40d9c5cfcef04e90e8

xenial/debian/heat-engine.prerm [new file with mode: 0644]

diff --git a/xenial/debian/heat-engine.prerm b/xenial/debian/heat-engine.prerm
new file mode 100644 (file)
index 0000000..d79d1d3
--- /dev/null
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+. /usr/share/debconf/confmodule
+
+db_get heat/configure_db
+if [ "$RET" = "true" ]; then
+       if [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then
+               . /usr/share/dbconfig-common/dpkg/prerm
+               dbc_go heat $@
+       fi
+fi
+
+#DEBHELPER#
+
+exit 0