diff options
author | Cem Keylan <cem@ckyln.com> | 2020-03-29 14:29:41 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-03-29 14:29:41 +0300 |
commit | 4079ee565a24e493c7be88370f227768cf4133a3 (patch) | |
tree | bd5a2f4c9583536ee3280306f48daed02cff442d | |
parent | 37f221fe493836684d099d7c29bfe1932d02180c (diff) | |
download | repository-4079ee565a24e493c7be88370f227768cf4133a3.tar.gz |
tzdata: get rid of sbin
-rwxr-xr-x | extra/tzdata/build | 4 |
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" "$@" |