mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Update omada.sh
This commit is contained in:
		@@ -32,7 +32,7 @@ function update_script() {
 | 
			
		||||
    msg_error "No ${APP} Installation Found!"
 | 
			
		||||
    exit
 | 
			
		||||
  fi
 | 
			
		||||
  latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -oP 'href="([^"]+linux_x64[^"]+\.deb)"' | sed 's/href="//' | sort | tail -n 1)
 | 
			
		||||
  latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -oP 'href="([^"]+linux_x64[^"]+\.deb)' | sed 's/href="//' | sort | tail -n 1)
 | 
			
		||||
  latest_version=$(basename "$latest_url")
 | 
			
		||||
  if [ -z "${latest_version}" ]; then
 | 
			
		||||
    msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user