[Pkg-voip-commits] [SCM] UNNAMED PROJECT branch, master, updated. upstream/1.8.0_pre1-12-g6eb74a5
Daniel Pocock
daniel at pocock.com.au
Sun May 20 17:14:22 UTC 2012
The following commit has been merged in the master branch:
commit 76db8ac2f586714a0aa43b972e9f29134a2459c3
Author: Daniel Pocock <daniel at pocock.com.au>
Date: Sun May 20 18:56:44 2012 +0200
Add postrm scripts for removing users
diff --git a/debian/repro.postrm b/debian/repro.postrm
new file mode 100644
index 0000000..38e46db
--- /dev/null
+++ b/debian/repro.postrm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+if [ "$1" = "purge" ] ; then
+ if getent passwd repro >/dev/null; then
+ userdel repro
+ fi
+ if getent group repro >/dev/null; then
+ groupdel repro
+ fi
+fi
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
diff --git a/debian/resiprocate-turn-server.postrm b/debian/resiprocate-turn-server.postrm
new file mode 100644
index 0000000..8c5546a
--- /dev/null
+++ b/debian/resiprocate-turn-server.postrm
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+if [ "$1" = "purge" ] ; then
+ if getent passwd return >/dev/null; then
+ userdel return
+ fi
+ if getent group return >/dev/null; then
+ groupdel return
+ fi
+fi
+
+
+# dh_installdeb will replace this with shell code automatically
+# generated by other debhelper scripts.
+
+#DEBHELPER#
+
+exit 0
+
--
UNNAMED PROJECT
More information about the Pkg-voip-commits
mailing list