Last active
December 5, 2019 19:40
-
-
Save juanplopes/310a03b42aed5d1873a035389a42dbd6 to your computer and use it in GitHub Desktop.
Update tzdata
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# On Ubuntu: make sure you have lzip and gawk installed | |
tmp_dir=$(mktemp -d -t tzdata-XXXXXXXXXX) | |
cd $tmp_dir | |
wget https://cdn.azul.com/tools/ziupdater1.0.2.2-jse8+7-any_jvm.tar.gz | |
wget https://data.iana.org/time-zones/releases/tzdb-2019c.tar.lz | |
tar zfxv ziupdater*.tar.gz | |
tar lfxv tzdb-2019c.tar.lz | |
cd tzdb-2019c/ | |
make tarballs | |
cd ../ | |
sudo java -jar ziupdater*.jar -l file://$tmp_dir/tzdb-2019c/tzdata2019c-rearguard.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dá um
sudo apt install lzip
, só por desencargo.