wok-current diff get-softmodem-driver/stuff/hcfpcimodem-1.19full.diff @ rev 9214
nvidia: allow post_install without tty (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 11 11:22:16 2011 +0100 (2011-03-11) |
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 Fri Mar 11 11:22:16 2011 +0100 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 )