Revert to ppa:ondrej/ppa for phalcon3

This commit is contained in:
Shivam Mathur 2021-03-05 23:21:46 +05:30
parent a36d464b4a
commit 60a4a89981
No known key found for this signature in database
GPG Key ID: 3E13E4C8591ACC2A

View File

@ -6,8 +6,7 @@ add_phalcon_helper() {
if [ "$extension" = "phalcon4" ]; then
${apt_install:?} "php${version:?}-psr" "php${version:?}-$extension"
else
get -q -e /tmp/phalcon.deb "https://packagecloud.io/phalcon/stable/packages/ubuntu/bionic/php${version:?}-phalcon_3.4.5-1+php${version:?}_amd64.deb/download.deb"
sudo dpkg -i /tmp/phalcon.deb
${apt_install:?} "php${version:?}-$extension"
fi
else
sed -i '' '/extension.*psr/d' "${ini_file:?}"