mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	fix golang issue
This commit is contained in:
		@@ -23,7 +23,7 @@ msg_info "Installing Golang"
 | 
			
		||||
set +o pipefail
 | 
			
		||||
temp_file=$(mktemp)
 | 
			
		||||
golang_tarball=$(curl -fsSL https://go.dev/dl/ | grep -oP 'go[\d\.]+\.linux-amd64\.tar\.gz' | head -n 1)
 | 
			
		||||
curl -fsSL "https://golang.org/dl/"$golang_tarball" -o ""$temp_file""
 | 
			
		||||
curl -fsSL "https://golang.org/dl/${golang_tarball}" -o "$temp_file"
 | 
			
		||||
tar -C /usr/local -xzf "$temp_file"
 | 
			
		||||
ln -sf /usr/local/go/bin/go /usr/local/bin/go
 | 
			
		||||
set -o pipefail
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user