aboutsummaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authordec05eba <dec05eba@dec05ebas-iMac.local>2018-09-29 22:49:01 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit3f543a7c36f503f8b8d10c9885d2ece81a955ff5 (patch)
treee4db81cba45ceb920b4d38dadf2735efa573ac01 /install.sh
parente7ebd55c31148089eb54ffbd708216c1c7cb09ff (diff)
Update readme, project.conf and install script for mac
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh13
1 files changed, 10 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index 775fa6b..d144215 100755
--- a/install.sh
+++ b/install.sh
@@ -3,9 +3,16 @@
set -e
case "$(uname -s)" in
- Linux*) bin_dir="/usr/bin" ;;
- Darwin*) bin_dir="/usr/local/bin" ;;
- *) echo "The install file can only be run on linux and mac" && exit 1 ;;
+ Linux*)
+ bin_dir="/usr/bin"
+ ;;
+ Darwin*)
+ bin_dir="/usr/local/bin"
+ export PKG_CONFIG_PATH="/usr/local/opt/libarchive/lib/pkgconfig/"
+ ;;
+ *)
+ echo "The install file can only be run on linux and mac" && exit 1
+ ;;
esac
project_dir=`dirname $0`