mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-23 04:11: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'
|
status='Installed and enabled'
|
||||||
if [ "$os_name" = "Linux" ]; then
|
if [ "$os_name" = "Linux" ]; then
|
||||||
update_lists
|
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
|
else
|
||||||
phalcon_ini_file=${ini_file:?}
|
phalcon_ini_file=${ini_file:?}
|
||||||
sed -i '' '/extension.*psr/d' "${ini_file:?}"
|
sed -i '' '/extension.*psr/d' "${ini_file:?}"
|
||||||
|
Loading…
Reference in New Issue
Block a user