[Pkg-swan-devel] [strongswan] 02/12: Remove /var/lib/strongswan on purge

Yves-Alexis Perez corsac at moszumanska.debian.org
Sun Mar 16 14:49:36 UTC 2014


This is an automated email from the git hooks/post-receive script.

corsac pushed a commit to branch master
in repository strongswan.

commit f0873edfebd5405fdbc3db93bc6832148abd3c31
Author: Yves-Alexis Perez <corsac at debian.org>
Date:   Sat Mar 8 18:03:11 2014 +0100

    Remove /var/lib/strongswan on purge
    
    * debian/strongswan-starter,postrm:
      - remove /var/lib/strongswan on purge.
---
 debian/changelog                 | 2 ++
 debian/strongswan-starter.postrm | 1 +
 2 files changed, 3 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index fcd3845..6a6ca08 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 at debian.org>  Wed, 05 Mar 2014 09:51:11 +0100
 
diff --git a/debian/strongswan-starter.postrm b/debian/strongswan-starter.postrm
index 93407b7..ec4e616 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

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-swan/strongswan.git



More information about the Pkg-swan-devel mailing list