aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorCharlie Root <root@dec05eba.my.domain>2018-09-30 23:44:13 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit0b09e97d0d6163b5a898f5642505ee12dd5ef30e (patch)
tree6464ce5279090cf99aa957aaca1faf68c50db095 /install.sh
parent147188af8356d21fb9720308ef4912e1f3a22a15 (diff)
Add OpenBSD support
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/install.sh b/install.sh
index d144215..530a7bc 100755
--- a/install.sh
+++ b/install.sh
@@ -10,8 +10,11 @@ case "$(uname -s)" in
bin_dir="/usr/local/bin"
export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/"
;;
+ OpenBSD*)
+ bin_dir="/usr/local/bin"
+ ;;
*)
- echo "The install file can only be run on linux and mac" && exit 1
+ echo "The install file can only be run on linux, mac and openbsd" && exit 1
;;
esac