summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2018-12-23 17:36:26 -0500
committerMario Rodas <marsam@users.noreply.github.com>2018-12-23 17:36:26 -0500
commit356e8a72ad5b91e7ba8b8ba4727a0f560060652d (patch)
treef3e76c7cdaaeb1e4a642e7cf6acf744827623d7b /server
parenta4cd69ea1d50b8e74ea515eec95948ad87c6c732 (diff)
Check whether Homebrew is installed
Diffstat (limited to 'server')
-rwxr-xr-xserver/autobuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/autobuild b/server/autobuild
index 7a351d7..4a674e9 100755
--- a/server/autobuild
+++ b/server/autobuild
@@ -356,6 +356,9 @@ os_macos() {
if ! which uname >/dev/null 2>&1 || [ "$(uname -s)" != "Darwin" ]; then
return 1
fi
+ if ! which brew >/dev/null 2>&1; then
+ return 1
+ fi
PKGCMD=brew
PKGARGS=install
PACKAGES="pkg-config poppler automake"