rev 5361 - trunk/packages/kdenetwork/debian

Sune Vuorela pusling-guest at alioth.debian.org
Thu Jan 18 12:18:06 CET 2007


Author: pusling-guest
Date: 2007-01-18 12:18:06 +0100 (Thu, 18 Jan 2007)
New Revision: 5361

Modified:
   trunk/packages/kdenetwork/debian/changelog
   trunk/packages/kdenetwork/debian/ktalkd.postrm
Log:
guard ktalkd postinst


Modified: trunk/packages/kdenetwork/debian/changelog
===================================================================
--- trunk/packages/kdenetwork/debian/changelog	2007-01-18 11:16:34 UTC (rev 5360)
+++ trunk/packages/kdenetwork/debian/changelog	2007-01-18 11:18:06 UTC (rev 5361)
@@ -8,8 +8,13 @@
   * Update debian/knetwork-filesharing.install, samba kcm module was renamed.
   * Add myself to Uploaders.
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Tue, 16 Jan 2007 20:07:30 +0100
+  +++ Changes by Sune Vuorela
 
+  * Guard the call to update-inetd in ktalkd postinst. we have no guarantee
+    that it is there
+
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 18 Jan 2007 12:17:15 +0100
+
 kdenetwork (4:3.5.5-4) unstable; urgency=high
 
   +++ Changes by Ana Beatriz Guerrero Lopez:

Modified: trunk/packages/kdenetwork/debian/ktalkd.postrm
===================================================================
--- trunk/packages/kdenetwork/debian/ktalkd.postrm	2007-01-18 11:16:34 UTC (rev 5360)
+++ trunk/packages/kdenetwork/debian/ktalkd.postrm	2007-01-18 11:18:06 UTC (rev 5361)
@@ -6,8 +6,11 @@
 set -e
 
 remove_talk() {
-        update-inetd --remove 'talk[ \t].*[ \t]/usr/sbin/ktalkd'
-        update-inetd --remove 'ntalk[ \t].*[ \t]/usr/sbin/ktalkd'
+	if [ -x /usr/sbin/update-inetd ]
+	then
+        	/usr/sbin/update-inetd --remove 'talk[ \t].*[ \t]/usr/sbin/ktalkd'
+        	/usr/sbin/update-inetd --remove 'ntalk[ \t].*[ \t]/usr/sbin/ktalkd'
+	fi
 }
 
 case "$1" in




More information about the pkg-kde-commits mailing list