vdr/nvram-wakeup/debian config postinst

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 07 Jul 2004 13:53:39 +0000


Update of /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian
In directory haydn:/tmp/cvs-serv18360/vdr/nvram-wakeup/debian

Modified Files:
	config postinst 
Log Message:
* cleanup config a little bit
* new debconf-note should work now :)

Index: postinst
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/postinst,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- postinst	7 Jul 2004 13:36:23 -0000	1.4
+++ postinst	7 Jul 2004 13:53:37 -0000	1.5
@@ -51,7 +51,8 @@
     					echo "nvram" >> /etc/modules
 		    		fi
 				else
-					db_get nvram-wakeup/no_module_note
+					db_input high nvram-wakeup/no_module_note || true
+					db_go
 				fi
 	 	 	fi
 		fi

Index: config
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/vdr/nvram-wakeup/debian/config,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- config	4 Jul 2004 09:56:32 -0000	1.1
+++ config	7 Jul 2004 13:53:37 -0000	1.2
@@ -2,16 +2,16 @@
 
 if ! lsmod | grep -q nvram
 then
-    . /usr/share/debconf/confmodule
+	. /usr/share/debconf/confmodule
 
-     # ask module install question:
-    db_input high nvram-wakeup/install_module || false
-    db_go
-    db_get nvram-wakeup/install_module
-    if [ "$RET" = "false" ]
-    then
-	# show manual install instructions:
-	db_input high nvram-wakeup/install_instruction || true
-	db_go
-    fi
+   # ask module install question:
+   db_input high nvram-wakeup/install_module || false
+   db_go
+   db_get nvram-wakeup/install_module
+   if [ "$RET" = "false" ]
+   then
+		# show manual install instructions:
+		db_input high nvram-wakeup/install_instruction || true
+		db_go
+   fi
 fi