]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Also deletes /var/lib/heat on purge.
authorThomas Goirand <thomas@goirand.fr>
Thu, 30 May 2013 08:39:40 +0000 (16:39 +0800)
committerThomas Goirand <thomas@goirand.fr>
Thu, 30 May 2013 08:40:04 +0000 (16:40 +0800)
Rewritten-From: c930c7e5ed2aa5a340a010b011115454dc67cba3

trusty/debian/changelog
trusty/debian/heat-common.postrm

index 826df3bc6c1afed2c8d89aca9b3d380e3b68a6b7..7370d67409be33fe69b4a52f311d41872c16b64e 100644 (file)
@@ -1,12 +1,8 @@
-heat (2013.1-6) UNRELEASED; urgency=low
-
-  * Ran wrap-and-sort.
-
- -- Thomas Goirand <zigo@debian.org>  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 <zigo@debian.org>  Thu, 23 May 2013 23:16:57 +0800
 
index 1c8b7f061e89454055bf83ff5d7c1626195cce59..f90e6ae1f4e2fed5c25b385fb0771c29efb71c18 100644 (file)
@@ -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#