mirror of
https://github.com/shivammathur/setup-php.git
synced 2025-10-21 10:45:09 +07:00
Improve adding PPAs on Linux
This commit is contained in:
@ -1,11 +1,10 @@
|
||||
# Helper function to add phalcon.
|
||||
add_phalcon_helper() {
|
||||
status='Installed and enabled'
|
||||
update_lists
|
||||
if [ "$extension" = "phalcon4" ]; then
|
||||
${apt_install:?} "php${version:?}-psr" "php${version:?}-$extension"
|
||||
install_packages "php${version:?}-psr" "php${version:?}-$extension"
|
||||
else
|
||||
${apt_install:?} "php${version:?}-$extension"
|
||||
install_packages "php${version:?}-$extension"
|
||||
fi
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user