File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ function update_script() {
4343 msg_ok " Updated MongoDB to $MONGODB_VERSION "
4444
4545 msg_info " Updating Omada Controller"
46- latest_url=$( curl -s " https://support.omadanetworks.com/en/product/ omada-software- controller/?resourceType=download " | grep -o ' https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
46+ latest_url=$( curl -s " https://support.omadanetworks.com/en/download/software/ omada-controller/" | grep -o ' https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
4747 latest_version=$( basename " $latest_url " )
4848 if [ -z " ${latest_version} " ]; then
4949 msg_error " It seems that the server (tp-link.com) might be down. Please try again at a later time."
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ $STD apt-get install -y mongodb-org
5555msg_ok " Installed MongoDB $MONGODB_VERSION "
5656
5757msg_info " Installing Omada Controller"
58- latest_url=$( curl -s " https://support.omadanetworks.com/en/product/ omada-software- controller/?resourceType=download " | grep -o ' https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
58+ latest_url=$( curl -s " https://support.omadanetworks.com/en/download/software/ omada-controller/" | grep -o ' https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
5959latest_version=$( basename " $latest_url " )
6060
6161wget -qL ${latest_url}
You can’t perform that action at this time.
0 commit comments