mirror of
https://github.com/shivammathur/setup-php.git
synced 2024-11-26 13:23:05 +07:00
Update PPA before phalcon setup
This commit is contained in:
parent
50ffa593bb
commit
b36d2222e6
@ -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