Skip to content

Commit 9da79b9

Browse files
authored
Update omada.sh
1 parent 785d745 commit 9da79b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct/omada.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ function update_script() {
3232
msg_error "No ${APP} Installation Found!"
3333
exit
3434
fi
35-
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)
35+
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)
3636
latest_version=$(basename "$latest_url")
3737
if [ -z "${latest_version}" ]; then
3838
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."

0 commit comments

Comments
 (0)