Update proxmox-mail-gateway.sh

This commit is contained in:
Michel Roegl-Brunner 2025-02-05 10:37:35 +01:00 committed by GitHub
parent 9b0f69d9b0
commit ce821b6f0e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -27,8 +27,8 @@ function update_script() {
check_container_resources
if [[ ! -e /usr/bin/pmgproxy ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
msg_info "Updating ${APP}"
apt-get update
apt-get -y upgrade
apt-get update &>/dev/null
apt-get -y upgrade &>/dev/null
msg_ok "Updated ${APP}"
exit
}