From 4079ee565a24e493c7be88370f227768cf4133a3 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 29 Mar 2020 14:29:41 +0300 Subject: tzdata: get rid of sbin --- extra/tzdata/build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'extra/tzdata') 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" "$@" -- cgit v1.2.3