From ac57008510978bb729ddb7bedc156379259220ef Mon Sep 17 00:00:00 2001 From: Michael Bianco Date: Thu, 20 May 2021 14:42:12 -0600 Subject: [PATCH] Removed homebrew from error message --- bin/install | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index a18845c..23fff79 100755 --- a/bin/install +++ b/bin/install @@ -76,7 +76,7 @@ install_php() { fi if [ -n "$missing_required_packages" ]; then - echo "Required packages are missing, install via homebrew: $missing_required_packages" + echo "Required packages are missing: $missing_required_packages" exit 1 fi fi @@ -335,6 +335,9 @@ os_based_configure_options() { missing_required_packages="$missing_required_packages libiconv" fi else + echo "test" + echo $(locate libpng) + echo $(locate libjpeg) local jpeg_path=$(locate libjpeg | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) local libpng_path=$(locate libpng | awk '{ print length(), $0 | "sort -n" }' | cut -d" " -f2- | head -n 1) configure_options="--with-openssl --with-curl --with-zlib --with-readline --with-gettext" @@ -353,7 +356,7 @@ os_based_configure_options() { fi if [ -n "$missing_required_packages" ]; then - echo "Required packages are missing, install via homebrew: $missing_required_packages" + echo "Required packages are missing: $missing_required_packages" exit 1 fi