dvb/linuxtv-dvb/debian/dvb-driver.debian postinst dvb-driver.config.template rules postinst.01 postinst.01.template postinst.02 postinst.03 postinst.04.template postrm prerm.template README

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Wed, 02 Jun 2004 17:01:54 +0000


Update of /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian
In directory haydn:/tmp/cvs-serv30925/dvb/linuxtv-dvb/debian/dvb-driver.debian

Modified Files:
	dvb-driver.config.template rules 
Added Files:
	postinst 
Removed Files:
	postinst.01 postinst.01.template postinst.02 postinst.03 
	postinst.04.template postrm prerm.template README 
Log Message:
cleanup a lot of things, removed unused files....

--- prerm.template DELETED ---

--- NEW FILE: postinst ---
#!/bin/sh -e
# source debconf library
. /usr/share/debconf/confmodule

if [ "$1" = "configure" ] ; then
   if [ ! -e /dev/.devfsd ] ; then
		cd /dev && MAKEDEV dvb
   fi
fi

update-modules || true
update-devfsd 2>/dev/null || true

#DEBHELPER#

--- README DELETED ---

--- postrm DELETED ---

Index: dvb-driver.config.template
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian/dvb-driver.config.template,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- dvb-driver.config.template	21 Apr 2004 14:22:12 -0000	1.1.1.1
+++ dvb-driver.config.template	2 Jun 2004 17:01:52 -0000	1.2
@@ -4,14 +4,6 @@
 . /usr/share/debconf/confmodule
 
 db_input high dvb-driver-#KVERS#/note || true
-db_input high dvb-driver-#KVERS#/installinit || true
-
-# ask about device creation if needed
-#if [ `ls /dev/ost/*` -lt 40 ] ; then
-db_input high dvb-driver-#KVERS#/createdevs || true
-#else
-#   db_set joystick/createdevs false || true
-#fi
 
 # go, go, go! :)
 db_go

Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian/rules,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- rules	1 Jun 2004 16:18:13 -0000	1.8
+++ rules	2 Jun 2004 17:01:52 -0000	1.9
@@ -55,11 +55,7 @@
 	sed 's/#KVERS#/$(KVERS)/g' debian/control.template | sed 's/#KDREV#/$(KDREV)/g' > $(CURDIR)/debian/control
 	sed 's/#KVERS#/$(KVERS)/g' debian/dvb-driver.config.template > $(CURDIR)/debian/dvb-driver-$(KVERS).config
 	sed 's/#KVERS#/$(KVERS)/g' debian/templates.template > $(CURDIR)/debian/templates
-	sed 's/#KVERS#/$(KVERS)/g' debian/prerm.template > $(CURDIR)/debian/prerm
-	sed 's/#KVERS#/$(KVERS)/g' debian/postinst.01.template > $(CURDIR)/debian/postinst.01
-	sed 's/#KVERS#/$(KVERS)/g' debian/postinst.04.template > $(CURDIR)/debian/postinst.04
-	cat debian/postinst.0? > debian/postinst
-
+	
 	# Downloading of the dvb-ttpci-firmware, as it is not included in the 
 	# upstream-source-package, but it is needed at compile-time to compile 
 	# drivers for kernel 2.4
@@ -93,7 +89,7 @@
 	dh_testdir
 	dh_testroot
 	dh_clean -k
-	dh_installdirs -p dvb-driver-$(KVERS) usr/lib/dvd lib/modules/$(KVERS)/misc etc/modutils etc/devfs/symlinks.d etc/devfs/conf.d
+	dh_installdirs -p dvb-driver-$(KVERS) lib/modules/$(KVERS)/misc etc/modutils etc/devfs/symlinks.d etc/devfs/conf.d
 	
 	make DESTDIR=$(CURDIR)/debian/dvb-driver-$(KVERS) install
 	
@@ -106,7 +102,6 @@
 binary_modules_mod:
 	dh_testdir
 	dh_testroot
-	cd $(CURDIR)
 	dh_installdebconf	-n
 	dh_installmodules
 	dh_installchangelogs 
@@ -130,7 +125,7 @@
 	# Add here commands to clean up after the build process.
 	$(MAKE) clean
 	
-	rm -rf debian/dvb-driver-*config debian/postinst
+	rm -rf debian/dvb-driver-*config
 
 	-dh_clean
 

--- postinst.01.template DELETED ---

--- postinst.01 DELETED ---

--- postinst.02 DELETED ---

--- postinst.03 DELETED ---

--- postinst.04.template DELETED ---