mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-22 11:51:07 +07:00
Update PPA before phalcon setup
This commit is contained in:
parent
54afb29ef6
commit
00b0d694d0
@ -22,7 +22,6 @@ update_ppa() {
|
||||
install_phalcon() {
|
||||
extension=$1
|
||||
version=$2
|
||||
(sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "php$version-$extension" >/dev/null 2>&1 && add_log "$tick" "$extension" "Installed and enabled") ||
|
||||
(update_ppa && sudo DEBIAN_FRONTEND=noninteractive apt-get install -y "php$version-$extension" >/dev/null 2>&1 && add_log "$tick" "$extension" "Installed and enabled") ||
|
||||
add_log "$cross" "$extension" "Could not install $extension on PHP $semver"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user