Update Script: Unifi (#688)

This commit is contained in:
Michel Roegl-Brunner 2024-12-05 09:37:46 +01:00 committed by GitHub
parent 5c3fe0e802
commit 3a876c99ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -58,8 +58,8 @@ check_container_storage
check_container_resources check_container_resources
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 --allow-releaseinfo-change apt-get update --allow-releaseinfo-change &>/dev/null
apt-get install -y unifi apt-get install -y unifi &>/dev/null
msg_ok "Updated Successfully" msg_ok "Updated Successfully"
exit exit
} }