vdr/vdr-plugin-remote/debian config

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 20 Oct 2004 19:55:45 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-remote/debian
In directory haydn:/tmp/cvs-serv8858/vdr/vdr-plugin-remote/debian

Modified Files:
	config 
Log Message:
* added kernel-builtin-check (still need to check if this works as expected) ;-)

Index: config
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-remote/debian/config,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- config	20 Oct 2004 19:35:34 -0000	1.2
+++ config	20 Oct 2004 19:55:43 -0000	1.3
@@ -1,10 +1,13 @@
 #!/bin/sh
 
-if ! lsmod | grep -q ^evdev
+if ! cat /proc/bus/input/handlers | grep -q evdev
 then
-	. /usr/share/debconf/confmodule
+	if ! lsmod | grep -q ^evdev
+	then
+		. /usr/share/debconf/confmodule
 
-	# ask module install question:
-	db_input high vdr-plugin-remote/install_evdev || false
-	db_go
+		# ask module install question:
+		db_input high vdr-plugin-remote/install_evdev || false
+		db_go
+	fi
 fi