[SCM] icecast2/master: Add icecast2.prerm, stop icecast2 daemon before doing anything else.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Dec 1 11:28:37 UTC 2010


The following commit has been merged in the master branch:
commit e24c6eec38e819fa0303694c9642fd4dfcd47a71
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Dec 1 12:27:47 2010 +0100

    Add icecast2.prerm, stop icecast2 daemon before doing anything else.

diff --git a/debian/icecast2.prerm b/debian/icecast2.prerm
new file mode 100644
index 0000000..254c29f
--- /dev/null
+++ b/debian/icecast2.prerm
@@ -0,0 +1,13 @@
+#!/bin/sh
+
+set -e
+
+if [ -x /etc/init.d/icecast2 ]; then
+	if [ -x /usr/sbin/invoke-rc.d ]; then
+		invoke-rc.d icecast2 stop
+	else
+		/etc/init.d/icecast2 stop
+	fi
+fi
+
+#DEBHELPER#

-- 
icecast2 packaging



More information about the pkg-multimedia-commits mailing list