wok-next diff slitaz-tools-boxes/receipt @ rev 16623
Add proot
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 09 09:40:34 2014 +0000 (2014-05-09) |
parents | b74605f8fa4b |
children | 1a8ac6e91369 |
line diff
1.1 --- a/slitaz-tools-boxes/receipt Wed May 07 02:11:14 2014 +0300 1.2 +++ b/slitaz-tools-boxes/receipt Fri May 09 09:40:34 2014 +0000 1.3 @@ -25,7 +25,7 @@ 1.4 TAB=$WOK/tzdata/install/usr/share/zoneinfo/zone.tab 1.5 OUT=$install/usr/share/zoneinfo/zone-mini.tab 1.6 echo -n > $OUT 1.7 - ZONES="$(cat $1 | sed '/#/ d' | cut -d' ' -f1,3 | sort -u)" 1.8 + ZONES="$(cat $TAB | sed '/#/ d' | cut -d' ' -f1,3 | sort -u)" 1.9 for COUNTRY in $(echo "$ZONES" | cut -d' ' -f1 | sort -u); do 1.10 echo -ne "$COUNTRY\t" >> $OUT 1.11 for LOC in $(echo "$ZONES" | sed -n "/$COUNTRY/ s|.*\t\(.*\)|\1|p"); do 1.12 @@ -34,6 +34,8 @@ 1.13 echo >> $OUT 1.14 done 1.15 sed -i 's| $||g' $OUT 1.16 + # Remove historical locations for UA 1.17 + sed -i 's| Uzhgorod Zaporozhye||' $OUT 1.18 1.19 # country names 1.20 cp -a $WOK/tzdata/install/usr/share/zoneinfo/iso3166.tab \