summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 23:29:11 (EDT)
committer Patrick McDermott <patrick.mcdermott@libiquity.com>2019-06-05 23:29:11 (EDT)
commit72178aadfb990a08a73e9b9a342176429a5213e6 (patch)
tree97fc25fc5e31a93b9f33bf9f4ab4befabde5db9d
parentd2df9d01aa35b03ff13ee2d4704d64984084a4ea (diff)
tzselect, zdump: Install executables to /usr/bin
These don't attempt to modify system files and are intended for use by unprivileged users. This is where upstream installs them.
-rwxr-xr-xbuild5
-rw-r--r--tzselect.pkg/files2
-rw-r--r--zdump.pkg/files2
3 files changed, 5 insertions, 4 deletions
diff --git a/build b/build
index 2272d92..8f0f7be 100755
--- a/build
+++ b/build
@@ -19,8 +19,9 @@ build:
touch $@
install: build
- mkdir -p dest/usr/sbin
- cp src/tzselect src/zic src/zdump dest/usr/sbin
+ mkdir -p dest/usr/bin dest/usr/sbin
+ cp src/tzselect src/zdump dest/usr/bin
+ cp src/zic dest/usr/sbin
mkdir -p dest/usr/share/man/man8
cp src/tzselect.8 src/zic.8 src/zdump.8 dest/usr/share/man/man8
oh-fixperms
diff --git a/tzselect.pkg/files b/tzselect.pkg/files
index 1c323be..43aedd7 100644
--- a/tzselect.pkg/files
+++ b/tzselect.pkg/files
@@ -1 +1 @@
-/usr/sbin/tzselect
+/usr/bin/tzselect
diff --git a/zdump.pkg/files b/zdump.pkg/files
index eae2aad..5498131 100644
--- a/zdump.pkg/files
+++ b/zdump.pkg/files
@@ -1 +1 @@
-/usr/sbin/zdump
+/usr/bin/zdump