[Pkg-voip-commits] [SCM] reSIProcate branch, master, updated. upstream/1.8.2-75-gcaf0c65

Daniel Pocock daniel at pocock.com.au
Mon May 28 13:41:09 UTC 2012


The following commit has been merged in the master branch:
commit d372820ee188382bebb352e7f066f80a2efe5941
Author: Daniel Pocock <daniel at pocock.com.au>
Date:   Mon May 28 13:34:27 2012 +0000

    Remove /var/lib/repro on purge

diff --git a/debian/repro.postrm b/debian/repro.postrm
index e725e37..827d295 100644
--- a/debian/repro.postrm
+++ b/debian/repro.postrm
@@ -3,6 +3,13 @@
 set -e
 
 if [ "$1" = "purge" ] ; then
+
+        # MySQL uses debconf to get user confirmation before
+        # wiping it's lib database directory, a similar
+        # approach might be desirable for repro
+        rm -rf /var/lib/repro
+        rm -rf /var/run/repro
+
         if getent passwd repro >/dev/null; then
                 userdel repro
         fi

-- 
reSIProcate



More information about the Pkg-voip-commits mailing list