Setting tag sliver-openvswitch-2.2.90-1
[sliver-openvswitch.git] / debian / openvswitch-switch.postrm
index 6ff5ec2..88bf9fc 100755 (executable)
@@ -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