wok diff get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff @ rev 6753

Up: transmission to 2.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 17 18:18:20 2010 +0000 (2010-10-17)
parents bc0a71a7371e
children
line diff
     1.1 --- a/get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff	Tue Jun 16 09:46:41 2009 +0200
     1.2 +++ b/get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff	Sun Oct 17 18:18:20 2010 +0000
     1.3 @@ -55,10 +55,10 @@
     1.4   	fi
     1.5   
     1.6  -	zoneinfo_dir=/usr/share/zoneinfo
     1.7 -+	zoneinfo_dir=/usr/share/softmodem
     1.8 ++	zoneinfo_dir=/usr/share/hcfpcimodem
     1.9   
    1.10  -	if [ ! -d ${zoneinfo_dir} -o ! -f ${zoneinfo_dir}/zone.tab ]; then
    1.11 -+	if [ -f ${zoneinfo_dir}/hcfpcizone.tab ]; then
    1.12 ++	if [ -f ${zoneinfo_dir}/zone.tab ]; then
    1.13   		return 1
    1.14   	fi
    1.15   
    1.16 @@ -78,7 +78,7 @@
    1.17  -					eval "echo \${iso_${code}}"
    1.18  -				done | sort | uniq
    1.19  +		zone=`cat /etc/TZ`
    1.20 -+		code=`grep $zone ${zoneinfo_dir}/hcfpcizone.tab | awk '{print $1}' | sort | uniq`
    1.21 ++		code=`grep $zone ${zoneinfo_dir}/zone.tab | awk '{print $1}' | sort | uniq`
    1.22  +		eval "echo \${iso_${code}}"
    1.23   		return 0
    1.24   	)