mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Fix release fetching (#6961)
This commit is contained in:
		@@ -30,7 +30,7 @@ function update_script() {
 | 
			
		||||
    msg_info "Updating $APP"
 | 
			
		||||
    systemctl stop openobserve
 | 
			
		||||
    LATEST=$(curl -fsSL https://api.github.com/repos/openobserve/openobserve/releases/latest | grep '"tag_name":' | cut -d'"' -f4)
 | 
			
		||||
    tar zxvf <(curl -fsSL https://github.com/openobserve/openobserve/releases/download/$LATEST/openobserve-${LATEST}-linux-amd64.tar.gz) -C /opt/openobserve
 | 
			
		||||
    $STD tar zxvf <(curl -fsSL https://downloads.openobserve.ai/releases/openobserve/$LATEST/openobserve-$LATEST-linux-amd64.tar.gz) -C /opt/openobserve
 | 
			
		||||
    systemctl start openobserve
 | 
			
		||||
    msg_ok "Updated $APP"
 | 
			
		||||
    exit
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user