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