mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Authentik - Fix YQ_LATEST regex (#3565)
* Fix YQ_LATEST regex * remove f --------- Co-authored-by: CanbiZ <47820557+MickLesk@users.noreply.github.com>
This commit is contained in:
		@@ -38,7 +38,7 @@ msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing yq"
 | 
			
		||||
cd /tmp
 | 
			
		||||
YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": \K.*?(?=")')"
 | 
			
		||||
YQ_LATEST="$(curl -fsSL https://api.github.com/repos/mikefarah/yq/releases/latest | grep -Po '"tag_name": "\K.*?(?=")')"
 | 
			
		||||
curl -fsSL "https://github.com/mikefarah/yq/releases/download/${YQ_LATEST}/yq_linux_amd64" -o /usr/bin/yq
 | 
			
		||||
chmod +x /usr/bin/yq
 | 
			
		||||
msg_ok "Installed yq"
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user