From ffb67e9b7d80ea5c029a90c7f8ac9b057022f291 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 --- debian/neutron-common.prerm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/neutron-common.prerm b/debian/neutron-common.prerm index 97516608e..025ace98e 100644 --- a/debian/neutron-common.prerm +++ b/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