[Pkg-utopia-commits] r1095 - packages/unstable/dhcdbd/debian

Michael Biebl biebl at costa.debian.org
Tue Oct 24 12:18:51 UTC 2006


Author: biebl
Date: 2006-10-24 12:18:50 +0000 (Tue, 24 Oct 2006)
New Revision: 1095

Added:
   packages/unstable/dhcdbd/debian/dhcdbd.prerm
Modified:
   packages/unstable/dhcdbd/debian/changelog
Log:
Stop dhcdbd on package removal.


Modified: packages/unstable/dhcdbd/debian/changelog
===================================================================
--- packages/unstable/dhcdbd/debian/changelog	2006-10-24 12:09:34 UTC (rev 1094)
+++ packages/unstable/dhcdbd/debian/changelog	2006-10-24 12:18:50 UTC (rev 1095)
@@ -4,8 +4,10 @@
   * Fix a small typo in package description (Closes: #393544).
   * Drop dependency on adduser and the creation of group netdev in postinst.
     Not needed anymore.
+  * debian/dhcdbd.prerm
+    - Added, stop dhcdbd service on package removal.
 
- -- Michael Biebl <biebl at debian.org>  Tue, 24 Oct 2006 13:58:32 +0200
+ -- Michael Biebl <biebl at debian.org>  Tue, 24 Oct 2006 14:14:10 +0200
 
 dhcdbd (2.0-1) unstable; urgency=low
 

Added: packages/unstable/dhcdbd/debian/dhcdbd.prerm
===================================================================
--- packages/unstable/dhcdbd/debian/dhcdbd.prerm	                        (rev 0)
+++ packages/unstable/dhcdbd/debian/dhcdbd.prerm	2006-10-24 12:18:50 UTC (rev 1095)
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = "remove" ]; then
+	# Stop dhcdbd service on removal
+	if [ -x "/etc/dbus-1/event.d/24dhcdbd" ]; then
+		/etc/dbus-1/event.d/24dhcdbd stop 
+	fi
+fi
+
+#DEBHELPER#
+
+exit 0
+




More information about the Pkg-utopia-commits mailing list