X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=debian%2Fopenvswitch-switch.postrm;h=88bf9fc618a72fe9c2e999f9efb12f708a15ae20;hb=HEAD;hp=6ff5ec2c914e05fa75ef3edc1938f6953b06d184;hpb=b3a43165749f80d7f3eda34e2e2b07f7a349e298;p=sliver-openvswitch.git diff --git a/debian/openvswitch-switch.postrm b/debian/openvswitch-switch.postrm index 6ff5ec2c9..88bf9fc61 100755 --- a/debian/openvswitch-switch.postrm +++ b/debian/openvswitch-switch.postrm @@ -21,19 +21,21 @@ set -e case "$1" in purge) - rm -f /etc/openvswitch-switch/conf - rm -f /etc/openvswitch-switch/.conf.~lock~ - rm -f /etc/default/openvswitch-switch - rm -f /var/log/openvswitch/* - ;; + rm -f /etc/openvswitch/conf.db + rm -f /etc/openvswitch/.conf.db.~lock~ + rm -f /etc/default/openvswitch-switch + rm -f /var/log/openvswitch/ovs-vswitchd.log* || true + rm -f /var/log/openvswitch/ovsdb-server.log* || true + rm -f /etc/openvswitch/system-id.conf + ;; remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) - ;; + ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 1 - ;; + ;; esac # dh_installdeb will replace this with shell code automatically