mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-11-04 17:06:37 +07:00 
			
		
		
		
	Update PPA before phalcon setup
This commit is contained in:
		@ -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"
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user