wok-6.x diff get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff @ rev 10602

vlc: update bdeps (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 26 15:57:41 2011 +0200 (2011-05-26)
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	Thu May 26 15:57:41 2011 +0200
     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   	)