Fix dependency mess in phalcon4 setup on ubuntu

This commit is contained in:
Shivam Mathur 2020-10-12 12:45:15 +05:30
parent 1cc85eb670
commit 6597a6a15b
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -22,7 +22,7 @@ update_ppa() {
install_phalcon() { install_phalcon() {
extension=$1 extension=$1
version=$2 version=$2
(update_ppa && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "php$version-$extension" >/dev/null 2>&1 && add_log "$tick" "$extension" "Installed and enabled") || (update_ppa && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "php$version-psr" "php$version-$extension" >/dev/null 2>&1 && add_log "$tick" "$extension" "Installed and enabled") ||
add_log "$cross" "$extension" "Could not install $extension on PHP $semver" add_log "$cross" "$extension" "Could not install $extension on PHP $semver"
} }