dvb/linuxtv-dvb/debian/dvb-driver.debian rules

Thomas Schmidt pkg-vdr-dvb-changes@lists.alioth.debian.org
Fri, 18 Jun 2004 19:28:44 +0000


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

Modified Files:
	rules 
Log Message:
changed url to firmware in download-script

Index: rules
===================================================================
RCS file: /cvsroot/pkg-vdr-dvb/dvb/linuxtv-dvb/debian/dvb-driver.debian/rules,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- rules	2 Jun 2004 17:51:07 -0000	1.12
+++ rules	18 Jun 2004 19:28:42 -0000	1.13
@@ -40,8 +40,8 @@
 
 # Variables for the firmware-download
 DOWNLOAD_DIR = $(CURDIR)/build-2.4
-BASEURL      = http://www.linuxtv.org/download/dvb
-FILENAME 	 = dvb-ttpci-01.fw
+BASEURL      = http://www.linuxtv.org/download/dvb/firmware
+FILENAME 	 = dvb-ttpci-01.fw-261c
 
 debian/control: debian/control.in
 	sed -e "$(SED_SCRIPT)" debian/control.in > $@
@@ -61,8 +61,8 @@
 	# drivers for kernel 2.4
 	if [ ! -f $(DOWNLOAD_DIR)/$(FILENAME) ]; then \
 		echo "Firmware for dvb-ttpci-cards needs to be downloaded."; \
-		if ! `wget --passive-ftp -P $(DOWNLOAD_DIR) $(BASEURL)/$(FILENAME)`; then \
-			echo "http://www.linuxtv.org/download/dvb/dvb-ttpci-01.fw not on web server."; \
+		if ! `wget --passive-ftp -P $(DOWNLOAD_DIR) $(BASEURL)/$(FILENAME) -O dvb-ttpci-01.fw`; then \
+			echo "$(BASEURL)/$(FILENAME) not on web server."; \
 			exit 1; \
 		fi; \
 	fi