aboutsummaryrefslogtreecommitdiff
path: root/extra/tzdata
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2021-08-07 20:44:01 +0300
committerCem Keylan <cem@ckyln.com>2021-08-07 20:44:01 +0300
commit6a5d7087db66152eecc27b01452863b93617fabf (patch)
tree0bdee9e11b772285c96cad982b127542d8c7d894 /extra/tzdata
parente33ea9b9cef38d103064dabf5299c57e9242d014 (diff)
downloadrepository-6a5d7087db66152eecc27b01452863b93617fabf.tar.gz
tzdata: remove localtime file from the package
Diffstat (limited to 'extra/tzdata')
-rwxr-xr-xextra/tzdata/build1
-rw-r--r--extra/tzdata/message6
-rw-r--r--extra/tzdata/version2
3 files changed, 8 insertions, 1 deletions
diff --git a/extra/tzdata/build b/extra/tzdata/build
index 8b77e1ae..8a00ad0f 100755
--- a/extra/tzdata/build
+++ b/extra/tzdata/build
@@ -8,6 +8,7 @@ make DESTDIR="$1" install
# Get rid of the sbin directory
mv "$1/usr/sbin/zic" "$1/usr/bin/zic"
rm -rf "$1/usr/sbin"
+rm -rf "${1:?}/etc"
set -- africa asia australasia europe northamerica southamerica
diff --git a/extra/tzdata/message b/extra/tzdata/message
new file mode 100644
index 00000000..f8be1298
--- /dev/null
+++ b/extra/tzdata/message
@@ -0,0 +1,6 @@
+WARNING
+
+tzdata no longer has the '/etc/localtime' file packaged,
+you may need to manually relink the localtime file if
+you are upgrading the package.
+
diff --git a/extra/tzdata/version b/extra/tzdata/version
index 2221e5ba..b78e1985 100644
--- a/extra/tzdata/version
+++ b/extra/tzdata/version
@@ -1 +1 @@
-2021a 1
+2021a 2