dfd0339f9d
Monotone-Parent: 7d73b5aa41ac3ab867578f6cb0b5e1b5a839b2b8 Monotone-Revision: dcd831afcbb347de38ec00c05b919923433a9f1f Monotone-Author: ludovic@Sophos.ca Monotone-Date: 2012-05-08T14:42:57
20 lines
681 B
Plaintext
20 lines
681 B
Plaintext
To updated the timezone files:
|
|
|
|
1- get the vzic or tzurl tool from http://code.google.com/p/tzurl/source/checkout and compile it
|
|
|
|
2- get the zone files, for example:
|
|
|
|
mkdir /tmp/zones
|
|
cd /tmp/zones
|
|
wget ftp://munnari.oz.au/pub/oldtz/tzdata2011n.tar.gz
|
|
tar -zxvf tzdata2011n.tar.gz
|
|
|
|
3- run the conversion tool and adjust the PRODID
|
|
|
|
vzic --olson-dir /tmp/zones/ --output-dir SOGo/SOPE/NGCards/TimeZones/
|
|
cd SOGo/SOPE/NGCards/TimeZones/
|
|
rm -f zones.h zones.tab
|
|
|
|
find . -name "*.ics" | xargs -ti sed -i s/'My Organization\/\/NONSGML My Product'/'Inverse inc.\/\/NONSGML SOGo'/ {}
|
|
find . -name "*.ics" | xargs -ti sed -i s/'\/myorganization.org\/20120508_1\/'// {}
|