From: Thomas Goirand Date: Wed, 7 Aug 2013 15:42:05 +0000 (+0200) Subject: Only uses dbconfig-common in prerm if it exists X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=f7602ecc73d29beca3480a4fc9ff3724f507c938;p=openstack-build%2Fneutron-build.git Only uses dbconfig-common in prerm if it exists Rewritten-From: ffb67e9b7d80ea5c029a90c7f8ac9b057022f291 --- diff --git a/trusty/debian/neutron-common.prerm b/trusty/debian/neutron-common.prerm index 97516608e..025ace98e 100644 --- a/trusty/debian/neutron-common.prerm +++ b/trusty/debian/neutron-common.prerm @@ -6,8 +6,10 @@ set -e db_get neutron/configure_db if [ "$RET" = "true" ]; then - . /usr/share/dbconfig-common/dpkg/prerm - dbc_go neutron-common $@ + if [ -e /usr/share/dbconfig-common/dpkg/prerm ] ; then + . /usr/share/dbconfig-common/dpkg/prerm + dbc_go neutron-common $@ + fi fi #DEBHELPER#