aboutsummaryrefslogtreecommitdiff
path: root/tzget
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2020-08-16 23:14:16 +0200
committerHugo Hörnquist <hugo@lysator.liu.se>2020-08-16 23:14:16 +0200
commitdb083ceaa136f9d8b987b0f9d151a1a3578d3709 (patch)
treea4f6594510dac7959f185604b2017ba31c00504c /tzget
parentWrite preliminary PKGBUILD. (diff)
downloadcalp-db083ceaa136f9d8b987b0f9d151a1a3578d3709.tar.gz
calp-db083ceaa136f9d8b987b0f9d151a1a3578d3709.tar.xz
Setup directories for dist.
Diffstat (limited to 'tzget')
-rwxr-xr-xtzget3
1 files changed, 3 insertions, 0 deletions
diff --git a/tzget b/tzget
index 14c9b668..86758c75 100755
--- a/tzget
+++ b/tzget
@@ -5,8 +5,11 @@
# - the directory with the zoneinfo files
# - the names of the zoneinfo files to be parsed
+# Where to savze the file
CACHE_DIR=${CACHE_DIR:-~/.cache/calp}
+# Which file to get
TAR=tzdata-latest.tar.gz
+# Where to get it from
TZ_SRC="https://www.iana.org/time-zones/repository/$TAR"
mkdir -p $CACHE_DIR