aboutsummaryrefslogtreecommitdiff
path: root/extra/tzdata/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-03-29 14:29:41 +0300
committerCem Keylan <cem@ckyln.com>2020-03-29 14:29:41 +0300
commit4079ee565a24e493c7be88370f227768cf4133a3 (patch)
treebd5a2f4c9583536ee3280306f48daed02cff442d /extra/tzdata/build
parent37f221fe493836684d099d7c29bfe1932d02180c (diff)
downloadrepository-4079ee565a24e493c7be88370f227768cf4133a3.tar.gz
tzdata: get rid of sbin
Diffstat (limited to 'extra/tzdata/build')
-rwxr-xr-xextra/tzdata/build4
1 files changed, 4 insertions, 0 deletions
diff --git a/extra/tzdata/build b/extra/tzdata/build
index 369842d0..1ded1cbc 100755
--- a/extra/tzdata/build
+++ b/extra/tzdata/build
@@ -5,6 +5,10 @@ pkg_dir=$1
make CC="${CC:-gcc}"
make DESTDIR="$1" install
+# Get rid of the sbin directory
+mv "$1/usr/sbin/zic" "$1/usr/bin/zic"
+rm -rf "$1/usr/sbin"
+
set -- africa asia australasia europe northamerica southamerica
./zic -d "$pkg_dir/usr/share/zoneinfo" "$@"