Skip to content

Commit af4b833

Browse files
authored
Omada: Switch Base-URL to prevent issues (#1135)
* fix path for omada update * fix omada install
1 parent 72f844d commit af4b833

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

ct/omada.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,7 @@ function update_script() {
3232
msg_error "No ${APP} Installation Found!"
3333
exit
3434
fi
35-
latest_url=$(curl -s "https://support.omadanetworks.com/en/product/omada-software-controller/?resourceType=download" | \
36-
grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | \
37-
head -n 1)
35+
latest_url=$(curl -s "https://www.vigi.com/de/support/download/omada-software-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
3836
latest_version=$(basename "$latest_url")
3937
if [ -z "${latest_version}" ]; then
4038
msg_error "It seems that the server (tp-link.com) might be down. Please try again at a later time."

install/omada-install.sh

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ wget -qL https://repo.mongodb.org/apt/ubuntu/dists/bionic/mongodb-org/3.6/multiv
3838
$STD dpkg -i mongodb-org-server_3.6.23_amd64.deb
3939
msg_ok "Installed MongoDB"
4040

41-
latest_url=$(curl -s "https://support.omadanetworks.com/en/product/omada-software-controller/?resourceType=download" | \
42-
grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | \
43-
head -n 1)
41+
latest_url=$(curl -s "https://www.vigi.com/de/support/download/omada-software-controller/" | grep -o 'https://static\.tp-link\.com/upload/software/[^"]*linux_x64[^"]*\.deb' | head -n 1)
4442
latest_version=$(basename "$latest_url")
4543

4644
msg_info "Installing Omada Controller"

0 commit comments

Comments
 (0)