From eb5b9f653aa9eba5d21e52f59276a1a6a88f4e8a Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Wed, 7 Aug 2013 17:42:05 +0200 Subject: [PATCH] Only uses dbconfig-common in prerm if it exists Rewritten-From: ffb67e9b7d80ea5c029a90c7f8ac9b057022f291 --- xenial/debian/neutron-common.prerm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/xenial/debian/neutron-common.prerm b/xenial/debian/neutron-common.prerm index 97516608e..025ace98e 100644 --- a/xenial/debian/neutron-common.prerm +++ b/xenial/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# -- 2.45.2