From: Arun Sharma <arun.sharma@calsoftinc.com>
Date: Fri, 29 Jun 2012 02:56:39 +0000 (-0700)
Subject: Debian packaging to remove system-id.conf
X-Git-Tag: sliver-openvswitch-1.8.90-0~48^2~302
X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=3445d6de9e46f59a52b71c2727ad4089875bae02;p=sliver-openvswitch.git

Debian packaging to remove system-id.conf

Debian packaging, "--purge" to remove /etc/openvswitch/system-id.conf

Signed-off-by: Arun Sharma <arun.sharma@calsoftinc.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
---

diff --git a/debian/openvswitch-switch.postrm b/debian/openvswitch-switch.postrm
index baf37c855..88bf9fc61 100755
--- a/debian/openvswitch-switch.postrm
+++ b/debian/openvswitch-switch.postrm
@@ -26,6 +26,7 @@ case "$1" in
         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)