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

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


The following commit has been merged in the master branch:
commit 026866dea9c063f3e532546d792df5a1ff69fcde
Author: Daniel Pocock <daniel at pocock.com.au>
Date:   Mon May 28 15:54:10 2012 +0200

    Delay in postrm in case process hasn't finished stopping

diff --git a/debian/changelog b/debian/changelog
index 2c28fb4..fca86e7 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ resiprocate (1.8.2-2) unstable; urgency=low
 
   * Make sure repro hashed passwords are not world readable
   * Remove /var/lib/repro on purge
+  * Delay in postrm in case process hasn't finished stopping
 
  -- Daniel Pocock <daniel at pocock.com.au>  Mon, 28 May 2012 13:38:14 +0000
 
diff --git a/debian/repro.postrm b/debian/repro.postrm
index 827d295..16be5c7 100644
--- a/debian/repro.postrm
+++ b/debian/repro.postrm
@@ -4,6 +4,10 @@ set -e
 
 if [ "$1" = "purge" ] ; then
 
+        # wait in case process still shutting down...
+        echo "Waiting for process to stop..."
+        sleep 8
+
         # MySQL uses debconf to get user confirmation before
         # wiping it's lib database directory, a similar
         # approach might be desirable for repro

-- 
reSIProcate



More information about the Pkg-voip-commits mailing list