diff -Nru openvswitch-2.8.0/debian/changelog openvswitch-2.8.0/debian/changelog --- openvswitch-2.8.0/debian/changelog 2017-09-04 14:17:49.000000000 +0000 +++ openvswitch-2.8.0/debian/changelog 2017-10-17 16:24:15.000000000 +0000 @@ -1,3 +1,11 @@ +openvswitch (2.8.0-0ubuntu2) artful; urgency=medium + + [ Frode Nordahl ] + * d/openvswitch-switch.postinst: Do not modify pre-existing + /etc/default/openvswitch-switch (LP: #1723480) + + -- Frode Nordahl Tue, 17 Oct 2017 16:24:15 +0000 + openvswitch (2.8.0-0ubuntu1) artful; urgency=medium * New upstream release. diff -Nru openvswitch-2.8.0/debian/openvswitch-switch.postinst openvswitch-2.8.0/debian/openvswitch-switch.postinst --- openvswitch-2.8.0/debian/openvswitch-switch.postinst 2017-07-14 08:24:54.000000000 +0000 +++ openvswitch-2.8.0/debian/openvswitch-switch.postinst 2017-10-17 16:24:11.000000000 +0000 @@ -27,14 +27,6 @@ TEMPLATE=/usr/share/openvswitch/switch/default.template if ! test -e $DEFAULT; then cp $TEMPLATE $DEFAULT - else - for var in $(awk -F'[ :]' '/^# [_A-Z0-9]+:/{print $2}' $TEMPLATE) - do - if ! grep $var $DEFAULT >/dev/null 2>&1; then - echo >> $DEFAULT - sed -n "/$var:/,/$var=/p" $TEMPLATE >> $DEFAULT - fi - done fi # Ensure that /etc/openvswitch/conf.db links to /var/lib/openvswitch,