Skip to content

Commit

Permalink
Update omada.sh
Browse files Browse the repository at this point in the history
tweak
  • Loading branch information
tteck authored Mar 1, 2024
1 parent dd4d449 commit 05dc537
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ct/omada.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ function default_settings() {
function update_script() {
header_info
if [[ ! -d /opt/tplink ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
latest_url=$(curl -fsSL "https://www.tp-link.com/us/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
latest_url=$(curl -fsSL "https://www.tp-link.com/en/support/download/omada-software-controller/" | grep -o 'https://.*x64.deb' | head -n1)
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."
Expand Down

0 comments on commit 05dc537

Please sign in to comment.