tags 413398 + patch
thanks

Hi,

Attached is the diff for my ident2 1.05-1.1 NMU.

bye,
        - michael
diff -u ident2-1.05/debian/changelog ident2-1.05/debian/changelog
--- ident2-1.05/debian/changelog
+++ ident2-1.05/debian/changelog
@@ -1,3 +1,11 @@
+ident2 (1.05-1.1) unstable; urgency=high
+
+  * Non-maintainer upload.
+  * Conditional call for update-inetd in postrm, thanks andreas
+    Closes: #413398 
+
+ -- Michael Ablassmeier <[EMAIL PROTECTED]>  Tue,  6 Mar 2007 13:21:03 +0100
+
 ident2 (1.05-1) unstable; urgency=low
 
   * New upstream release. (closes: #262939)
diff -u ident2-1.05/debian/ident2.postrm ident2-1.05/debian/ident2.postrm
--- ident2-1.05/debian/ident2.postrm
+++ ident2-1.05/debian/ident2.postrm
@@ -5,9 +5,13 @@
 set -e
 
 if [ "$1" = "purge" ]; then
-    update-inetd --remove "/usr/sbin/ident2"
+    if which update-inetd >/dev/null 2>&1 ; then
+        update-inetd --remove "/usr/sbin/ident2"
+    fi
 else
-    update-inetd --pattern "ident2" --disable ident
+    if which update-inetd >/dev/null 2>&1 ; then
+        update-inetd --pattern "ident2" --disable ident
+    fi
 fi
 
 #DEBHELPER#

Reply via email to