X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=debian%2Fopenvswitch-switch.postrm;h=baf37c8559b407e10b5dd746dff4f4c05f1a8369;hb=39435725ace48273700b55def25b2358f66ff398;hp=19e8ebe4c8ec14755015c4a027c22d09ec37f163;hpb=064af42167bf4fc9aaea2702d80ce08074b889c0;p=openvswitch diff --git a/debian/openvswitch-switch.postrm b/debian/openvswitch-switch.postrm index 19e8ebe4..baf37c85 100755 --- a/debian/openvswitch-switch.postrm +++ b/debian/openvswitch-switch.postrm @@ -21,16 +21,20 @@ set -e case "$1" in purge) - rm -f /etc/default/openvswitch-switch - ;; + 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 + ;; 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