Fix dependency mess in phalcon4 setup on ubuntu
This commit is contained in:
parent
3c4f3a3076
commit
058f2f3381
1 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||||
|
if [ "$extension" = "phalcon4" ]; then
|
||||||
|
${apt_install:?} "php${version:?}-psr" "php${version:?}-$extension"
|
||||||
|
else
|
||||||
${apt_install:?} "php${version:?}-$extension"
|
${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 a new issue