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 caf1fba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 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,7 @@ os_based_configure_options() {
missing_required_packages="$missing_required_packages libiconv"
fi
else
echo $(locate libpng)
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 +354,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 caf1fba

Please sign in to comment.