summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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