diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/time/README | 2 | ||||
-rwxr-xr-x | lib/time/update.bash | 9 |
2 files changed, 5 insertions, 6 deletions
diff --git a/lib/time/README b/lib/time/README index ffce9b0e08..aab4daa7e2 100644 --- a/lib/time/README +++ b/lib/time/README @@ -3,7 +3,7 @@ the code and data maintained as part of the IANA Time Zone Database. The IANA asserts that the database is in the public domain. For more information, see -http://www.iana.org/time-zones +https://www.iana.org/time-zones ftp://ftp.iana.org/tz/code/tz-link.htm http://tools.ietf.org/html/rfc6557 diff --git a/lib/time/update.bash b/lib/time/update.bash index b54fc9e4f6..26ad79d52d 100755 --- a/lib/time/update.bash +++ b/lib/time/update.bash @@ -5,7 +5,7 @@ # This script rebuilds the time zone files using files # downloaded from the ICANN/IANA distribution. -# Consult http://www.iana.org/time-zones for the latest versions. +# Consult https://www.iana.org/time-zones for the latest versions. # Versions to use. CODE=2017c @@ -16,8 +16,8 @@ rm -rf work mkdir work cd work mkdir zoneinfo -curl -L -O http://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz -curl -L -O http://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz +curl -L -O https://www.iana.org/time-zones/repository/releases/tzcode$CODE.tar.gz +curl -L -O https://www.iana.org/time-zones/repository/releases/tzdata$DATA.tar.gz tar xzf tzcode$CODE.tar.gz tar xzf tzdata$DATA.tar.gz @@ -42,10 +42,9 @@ zip -0 -r ../../zoneinfo.zip * cd ../.. echo -if [ "$1" = "-work" ]; then +if [ "$1" = "-work" ]; then echo Left workspace behind in work/. else rm -rf work fi echo New time zone files in zoneinfo.zip. - |