mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-10-31 07:16:22 +07:00 
			
		
		
		
	Suppress php-config error
This commit is contained in:
		| @ -197,7 +197,7 @@ version=$1 | ||||
| nodot_version=${1/./} | ||||
| old_versions="5.[3-5]" | ||||
| tool_path_dir="/usr/local/bin" | ||||
| existing_version=$(php-config --version | cut -c 1-3) | ||||
| existing_version=$(php-config --version 2>/dev/null | cut -c 1-3) | ||||
| [[ -z "${update}" ]] && update='false' || update="${update}" | ||||
|  | ||||
| # Setup PHP | ||||
|  | ||||
| @ -313,7 +313,7 @@ old_versions="5.[4-5]" | ||||
| debconf_fix="DEBIAN_FRONTEND=noninteractive" | ||||
| apt_install="sudo $debconf_fix apt-fast install -y" | ||||
| tool_path_dir="/usr/local/bin" | ||||
| existing_version=$(php-config --version | cut -c 1-3) | ||||
| existing_version=$(php-config --version 2>/dev/null | cut -c 1-3) | ||||
| [[ -z "${update}" ]] && update='false' || update="${update}" | ||||
|  | ||||
| # Setup PHP | ||||
|  | ||||
		Reference in New Issue
	
	Block a user
	 Shivam Mathur
					Shivam Mathur