]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Clean /var/lib/cinder on purge
authorMehdi Abaakouk <sileht@sileht.net>
Mon, 17 Sep 2012 08:11:14 +0000 (10:11 +0200)
committerMehdi Abaakouk <sileht@sileht.net>
Mon, 17 Sep 2012 08:11:14 +0000 (10:11 +0200)
debian/cinder-common.postrm

index aa0e336ebc250ec514f469ee859d73130008179c..26e0235321ac267ed55501c02968f050ba516c18 100644 (file)
@@ -24,6 +24,7 @@ fi
 if [ "$1" = "purge" ] ; then
     rm -f /etc/cinder/cinder.conf
     rm -f /etc/default/cinder-common
+    rm -rf /var/lib/cinder
 fi
 
 #DEBHELPER#