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

Up: zsh to 4.3.11.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Dec 20 17:45:11 2010 +0000 (2010-12-20)
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	Mon Dec 20 17:45:11 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   	)