Update unifi.sh

tweak update
This commit is contained in:
tteckster 2023-09-30 11:19:22 -04:00 committed by GitHub
parent 0e60f4ac4b
commit 45067cfdd1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ 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}"
apt-get update apt-get update --allow-releaseinfo-change
apt-get install -y unifi apt-get install -y unifi
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit