From 6a5d7087db66152eecc27b01452863b93617fabf Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sat, 7 Aug 2021 20:44:01 +0300 Subject: tzdata: remove localtime file from the package --- extra/tzdata/build | 1 + extra/tzdata/message | 6 ++++++ extra/tzdata/version | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 extra/tzdata/message (limited to 'extra/tzdata') 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 -- cgit v1.2.3