Update install.func

- globally add update command
This commit is contained in:
tteckster 2023-10-05 15:36:19 -04:00 committed by GitHub
parent 95e6a5436a
commit e45aa5e42a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 2 additions and 14 deletions

View file

@ -42,8 +42,6 @@ latest_version=$(basename "$latest_url" | sed -e 's/.*ller_//;s/_Li.*//')
msg_info "Installing Omada Controller ${latest_version}"
wget -qL ${latest_url}
$STD dpkg -i Omada_SDN_Controller_${latest_version}_Linux_x64.deb
echo "bash -c \"\$(wget -qLO - https://github.com/tteck/Proxmox/raw/main/ct/${app}.sh)\"" >/usr/bin/update
chmod +x /usr/bin/update
msg_ok "Installed Omada Controller ${latest_version}"
motd_ssh