]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Added if [ -r /usr/share/dbconfig-common/dpkg/prerm ] in the prerm.
authorThomas Goirand <thomas@goirand.fr>
Wed, 22 May 2013 16:09:15 +0000 (00:09 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 22 May 2013 16:09:15 +0000 (00:09 +0800)
Rewritten-From: 2c99dc8794a217435cb007d7a8d8ff815174e689

xenial/debian/changelog
xenial/debian/cinder-common.prerm

index d2810a0ee54e4dcfadbc932f54afb4c4f82bce13..50dbf1bb8a953372bf2d162240915fa887cb377e 100644 (file)
@@ -1,3 +1,9 @@
+cinder (2013.1.1-2) unstable; urgency=low
+
+  * Added if [ -r /usr/share/dbconfig-common/dpkg/prerm ] in the prerm.
+
+ -- Thomas Goirand <zigo@debian.org>  Thu, 23 May 2013 00:08:47 +0800
+
 cinder (2013.1.1-1) unstable; urgency=low
 
   * Uploading to unstable.
index ecda68a06b14a0d42d44fc718fb74ccbace2c488..71084c6c45fd567c977de3a3d0fe2b9cf08c9c9b 100644 (file)
@@ -6,8 +6,10 @@ set -e
 
 db_get cinder/configure_db || true
 if [ "$RET" = "true" ]; then
-    . /usr/share/dbconfig-common/dpkg/prerm
-    dbc_go cinder-common $@
+       if [ -r /usr/share/dbconfig-common/dpkg/prerm ] ; then
+               . /usr/share/dbconfig-common/dpkg/prerm
+               dbc_go cinder-common $@
+       fi
 fi
 
 #DEBHELPER#