rev 5363 - trunk/packages/kdepim/debian

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


Author: pusling-guest
Date: 2007-01-18 12:51:50 +0100 (Thu, 18 Jan 2007)
New Revision: 5363

Removed:
   trunk/packages/kdepim/debian/kpilot.templates
   trunk/packages/kdepim/debian/po/
Modified:
   trunk/packages/kdepim/debian/changelog
   trunk/packages/kdepim/debian/kpilot.postinst
Log:
remove ancient stuff. Please proofread.


Modified: trunk/packages/kdepim/debian/changelog
===================================================================
--- trunk/packages/kdepim/debian/changelog	2007-01-18 11:19:38 UTC (rev 5362)
+++ trunk/packages/kdepim/debian/changelog	2007-01-18 11:51:50 UTC (rev 5363)
@@ -15,13 +15,15 @@
   * Removed akregator default patch (21) (Merged upstream).
   * Removed liblink patch (Merged upstream).
   * Added patch to add warning about dimap usage (patch 26_dimap_warning)
+  * Remove ancient stuff from kpilot postinst, including debconf.
+  * Remove debconf kpilot templates and translations as well.
 
   +++ Changes by Ana Beatriz Guerrero Lopez:
 
   * Now kmail has CRM114 support to anti spam wizard, added crm114 to
     kmail's Suggests field.
 
- -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 18 Jan 2007 12:18:47 +0100
+ -- Debian Qt/KDE Maintainers <debian-qt-kde at lists.debian.org>  Thu, 18 Jan 2007 12:45:25 +0100
 
 kdepim (4:3.5.5.dfsg.1-5) unstable; urgency=high
 

Modified: trunk/packages/kdepim/debian/kpilot.postinst
===================================================================
--- trunk/packages/kdepim/debian/kpilot.postinst	2007-01-18 11:19:38 UTC (rev 5362)
+++ trunk/packages/kdepim/debian/kpilot.postinst	2007-01-18 11:51:50 UTC (rev 5363)
@@ -25,62 +25,12 @@
 #     `abort-upgrade',
 #     `abort-remove' or `abort-deconfigure'.
 
+#to be kept until post-lenny
 devfs_cfg=/etc/devfs/conf.d/libpisock8
 
 case "$1" in
     configure|reconfigure)
-		# Source debconf library.
-		. /usr/share/debconf/confmodule
-
-		# which port?
-		db_get 'shared/pilot/port'
-
-		port="$RET"
-
-		# if port is not defined we don't do anything
-		if [ "$port" ]
-		then
-			# if port is not set to None
-			if [ "$port" != "None" ]
-			then 
-				rm -f /dev/pilot
-				#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
-					rm /etc/devfs/symlinks.d/pilot-link
-				fi
-				if [ -f /etc/devfs/conf.d/pilot-link ]; then
-					rm /etc/devfs/conf.d/pilot-link
-				fi
-				
-				if [ ! -d /etc/devfs/conf.d ]
-				then
-					mkdir -p /etc/devfs/conf.d
-				fi
-
-				# convert ttyS? -> tts/? (devfs name)
-				port_devfs=$(echo $port | sed -e 's/ttyS/tts\//')
-
-				# convert ttyUSB? -> usb/tts/? (devfs name)
-				port_devfs=$(echo $port | sed -e 's/ttyUSB/usb\/tts\//')
-
-				echo "REGISTER  ^$port_devfs$ CFUNCTION GLOBAL symlink \$devname pilot" > $devfs_cfg
-				echo "REGISTER	^$port_devfs$	PERMISSIONS	root.root	0666" >> $devfs_cfg
-				echo "UNREGISTER ^$port_devfs$ CFUNCTION GLOBAL unlink pilot" >> $devfs_cfg
-			else
-				# the admin chooses to manage the link himself
-				rm -f /dev/pilot /etc/devfs/conf.d/libpisock8
-			fi
-		fi
-
-		# ends debconf
-		db_stop
+	rm -f $devfs_cfg
     ;;
 
     abort-upgrade|abort-remove|abort-deconfigure)

Deleted: trunk/packages/kdepim/debian/kpilot.templates




More information about the pkg-kde-commits mailing list