From c2b1327e6596b5cbf5163ff8b05c93c4d2f0a773 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Thu, 30 May 2013 16:39:40 +0800 Subject: [PATCH] Also deletes /var/lib/heat on purge. Rewritten-From: c930c7e5ed2aa5a340a010b011115454dc67cba3 --- trusty/debian/changelog | 8 ++------ trusty/debian/heat-common.postrm | 2 ++ 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/trusty/debian/changelog b/trusty/debian/changelog index 826df3bc..7370d674 100644 --- a/trusty/debian/changelog +++ b/trusty/debian/changelog @@ -1,12 +1,8 @@ -heat (2013.1-6) UNRELEASED; urgency=low - - * Ran wrap-and-sort. - - -- Thomas Goirand Thu, 30 May 2013 11:22:37 +0800 - heat (2013.1-5) unstable; urgency=low * Added Subclass_keystone_middleware_to_set_headers.patch + * Ran wrap-and-sort. + * Also deletes /var/lib/heat on purge (Closes: #709875). -- Thomas Goirand Thu, 23 May 2013 23:16:57 +0800 diff --git a/trusty/debian/heat-common.postrm b/trusty/debian/heat-common.postrm index 1c8b7f06..f90e6ae1 100644 --- a/trusty/debian/heat-common.postrm +++ b/trusty/debian/heat-common.postrm @@ -6,6 +6,8 @@ if [ "${1}" = "purge" ] ; then [ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat rm -rf /var/log/heat/engine* [ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat + [ -d /var/lib/heat/cache ] && rmdir --ignore-fail-on-non-empty /var/lib/heat/cache + [ -d /var/lib/heat ] && rmdir --ignore-fail-on-non-empty /var/lib/heat fi #DEBHELPER# -- 2.45.2