mirror of
				https://github.com/shivammathur/setup-php.git
				synced 2025-11-04 08:56:36 +07:00 
			
		
		
		
	Install only cli on linux
This commit is contained in:
		@ -271,8 +271,8 @@ if [ "$existing_version" != "$version" ]; then
 | 
			
		||||
      setup_master >/dev/null 2>&1
 | 
			
		||||
    else
 | 
			
		||||
      update_lists
 | 
			
		||||
      IFS=' ' read -r -a packages <<< "$(echo "curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")"
 | 
			
		||||
      $apt_install php"$version" "${packages[@]}" >/dev/null 2>&1
 | 
			
		||||
      IFS=' ' read -r -a packages <<< "$(echo "cli curl mbstring xml intl" | sed "s/[^ ]*/php$version-&/g")"
 | 
			
		||||
      $apt_install "${packages[@]}"
 | 
			
		||||
    fi
 | 
			
		||||
    status="Installed"
 | 
			
		||||
  else
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user