vdr/vdr-plugin-remote/debian config

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


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

Modified Files:
	config 
Log Message:
* check if the module is allready loaded - still need a test to check if the kernel has evdev-support builtin

Index: config
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/vdr-plugin-remote/debian/config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- config	20 Oct 2004 19:11:53 -0000	1.1
+++ config	20 Oct 2004 19:35:34 -0000	1.2
@@ -1,7 +1,10 @@
 #!/bin/sh
 
-. /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