summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYves-Alexis Perez <corsac@debian.org>2014-03-08 18:03:11 +0100
committerYves-Alexis Perez <corsac@debian.org>2014-03-08 18:03:11 +0100
commitf0873edfebd5405fdbc3db93bc6832148abd3c31 (patch)
tree5277bcd4f613a9acf03e61e480d5f14ab0c61e18
parent4eb894c612261cae409a248eef0535a4fa9a9e8f (diff)
downloadvyos-strongswan-f0873edfebd5405fdbc3db93bc6832148abd3c31.tar.gz
vyos-strongswan-f0873edfebd5405fdbc3db93bc6832148abd3c31.zip
Remove /var/lib/strongswan on purge
* debian/strongswan-starter,postrm: - remove /var/lib/strongswan on purge.
-rw-r--r--debian/changelog2
-rw-r--r--debian/strongswan-starter.postrm1
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index fcd38452e..6a6ca08d9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ strongswan (5.1.1-4) UNRELEASED; urgency=medium
* debian/control:
- add conflicts against openSwan. closes: #740808
+ * debian/strongswan-starter,postrm:
+ - remove /var/lib/strongswan on purge.
-- Yves-Alexis Perez <corsac@debian.org> Wed, 05 Mar 2014 09:51:11 +0100
diff --git a/debian/strongswan-starter.postrm b/debian/strongswan-starter.postrm
index 93407b76e..ec4e6165e 100644
--- a/debian/strongswan-starter.postrm
+++ b/debian/strongswan-starter.postrm
@@ -40,6 +40,7 @@ if [ "$1" = "purge" ] ; then
rm -rf /etc/ipsec.d/
rm -rf /var/run/pluto/
+ rm -rf /var/lib/strongswan/
fi
# dh_installdeb will replace this with shell code automatically