Skip to content

Commit

Permalink
Removed homebrew from error message
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveitaly committed May 20, 2021
1 parent 4ea1ec8 commit ac57008
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions bin/install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand All @@ -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

Expand Down

0 comments on commit ac57008

Please sign in to comment.