mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 20:01:06 +07:00
Fix dependency mess in phalcon4 setup on ubuntu
This commit is contained in:
parent
537c66b2ea
commit
f687ff8f21
@ -3,7 +3,11 @@ add_phalcon_helper() {
|
||||
status='Installed and enabled'
|
||||
if [ "$os_name" = "Linux" ]; then
|
||||
update_lists
|
||||
${apt_install:?} "php${version:?}-$extension"
|
||||
if [ "$extension" = "phalcon4" ]; then
|
||||
${apt_install:?} "php${version:?}-psr" "php${version:?}-$extension"
|
||||
else
|
||||
${apt_install:?} "php${version:?}-$extension"
|
||||
fi
|
||||
else
|
||||
phalcon_ini_file=${ini_file:?}
|
||||
sed -i '' '/extension.*psr/d' "${ini_file:?}"
|
||||
|
Loading…
Reference in New Issue
Block a user