From a19b747ab43e95cdadd69eb98f3047a2348fbab1 Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Fri, 23 Oct 2015 12:30:13 +0200 Subject: [PATCH] Delete openvswitch_agent.ini on purge (Closes: #802538). Rewritten-From: 494128e47d6436eb7d0ac89ce53f51514b700c07 --- xenial/debian/changelog | 6 ++++++ xenial/debian/neutron-common.postrm | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/xenial/debian/changelog b/xenial/debian/changelog index 2d014af85..539927c22 100644 --- a/xenial/debian/changelog +++ b/xenial/debian/changelog @@ -1,3 +1,9 @@ +neutron (1:7.0.0-2) unstable; urgency=medium + + * Delete openvswitch_agent.ini on purge (Closes: #802538). + + -- Thomas Goirand Fri, 23 Oct 2015 12:25:25 +0200 + neutron (1:7.0.0-1) unstable; urgency=medium * New upstream release. diff --git a/xenial/debian/neutron-common.postrm b/xenial/debian/neutron-common.postrm index 75520af18..7a6bbe234 100644 --- a/xenial/debian/neutron-common.postrm +++ b/xenial/debian/neutron-common.postrm @@ -23,7 +23,7 @@ if [ "${1}" = "purge" ] ; then # Clean /etc/neutron on purge rm -f /etc/default/neutron /etc/neutron/api-paste.ini /etc/neutron/neutron.conf \ - /etc/neutron/plugins/openvswitch/ml2/openvswitch_agent.ini + /etc/neutron/plugins/ml2/openvswitch_agent.ini [ -d /etc/neutron/plugins/ml2 ] && rmdir --ignore-fail-on-non-empty /etc/neutron/plugins/ml2 [ -d /etc/neutron/plugins ] && rmdir --ignore-fail-on-non-empty /etc/neutron/plugins [ -d /etc/neutron ] && rmdir --ignore-fail-on-non-empty /etc/neutron -- 2.45.2