rev 4938 - trunk/packages/kdepim/debian

Sune Vuorela pusling-guest at alioth.debian.org
Sun Nov 19 08:42:49 UTC 2006


Author: pusling-guest
Date: 2006-11-19 09:42:48 +0100 (Sun, 19 Nov 2006)
New Revision: 4938

Modified:
   trunk/packages/kdepim/debian/changelog
   trunk/packages/kdepim/debian/kpilot.postinst
Log:
small fixes in kpilot postinst


Modified: trunk/packages/kdepim/debian/changelog
===================================================================
--- trunk/packages/kdepim/debian/changelog	2006-11-19 08:40:35 UTC (rev 4937)
+++ trunk/packages/kdepim/debian/changelog	2006-11-19 08:42:48 UTC (rev 4938)
@@ -1,5 +1,7 @@
 kdepim (4:3.5.5.dfsg.1-2) unstable; urgency=low
 
+  +++ Changes by Sune Vuorela
+
   * Adds 18_optimize_splitAddressInternal.diff to fix lock up on weird
     headers. It is actually a performance tweak, as it normally continues
     after 10-15 minutes of non-responding state. Fix by Johannes Schaub. It
@@ -13,8 +15,10 @@
   * Slowly starting dependency chain on -dbg packages. Adding kdelibs-dbg to
     kdepim-dbg depends
   * fixed .ro debconf template (Closes: 397827)
+  * don't chmod stuff in kpilot if it is not there (in case of udev) i
+    (Closes:  #378696)
 
- -- Sune Vuorela <debian at pusling.com>  Sun, 19 Nov 2006 00:36:03 +0100
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Sun, 19 Nov 2006 09:40:57 +0100
 
 kdepim (4:3.5.5.dfsg.1-1) unstable; urgency=medium
 

Modified: trunk/packages/kdepim/debian/kpilot.postinst
===================================================================
--- trunk/packages/kdepim/debian/kpilot.postinst	2006-11-19 08:40:35 UTC (rev 4937)
+++ trunk/packages/kdepim/debian/kpilot.postinst	2006-11-19 08:42:48 UTC (rev 4938)
@@ -42,10 +42,14 @@
 		then
 			# if port is not set to None
 			if [ "$port" != "None" ]
-			then
+			then 
 				rm -f /dev/pilot
-				ln -s "$port" /dev/pilot
-				chmod -f 0666 /dev/"$port" || true
+				#let us just guard this in case of udev 
+				if [ -e "$port" ]
+				then
+					ln -s "$port" /dev/pilot
+					chmod -f 0666 /dev/"$port" || true
+				fi
 
 				# remove old devfs stuff (from before 0.11.3-5)
 				if [ -f /etc/devfs/symlinks.d/pilot-link ]; then




More information about the pkg-kde-commits mailing list