mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 07:51:55 +00:00
Update unifi.sh
fix update
This commit is contained in:
parent
29f34c8b51
commit
6f2f334a81
@ -54,8 +54,8 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /usr/lib/unifi ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
wget -qL https://get.glennr.nl/unifi/update/unifi-update.sh
|
apt-get update
|
||||||
bash unifi-update.sh
|
apt-get install -y unifi
|
||||||
msg_ok "Updated Successfully"
|
msg_ok "Updated Successfully"
|
||||||
exit
|
exit
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user