From 9b1e39dbb42b0eff0e114a2f75a1ac4bd7769e98 Mon Sep 17 00:00:00 2001 From: MacRimi Date: Tue, 9 Sep 2025 19:14:27 +0200 Subject: [PATCH] Update update-pve.sh --- scripts/global/update-pve.sh | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/scripts/global/update-pve.sh b/scripts/global/update-pve.sh index 2d89710..f7833bf 100644 --- a/scripts/global/update-pve.sh +++ b/scripts/global/update-pve.sh @@ -240,14 +240,16 @@ EOF return 0 fi - msg_info "$(translate "Removing conflicting utilities...")" + msg_info "$(translate "Cleaning up unused time synchronization services...")" + if /usr/bin/env DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::='--force-confdef' purge ntp openntpd systemd-timesyncd > /dev/null 2>&1; then - msg_ok "$(translate "Conflicting utilities removed")" + msg_ok "$(translate "Old time services removed successfully")" else - msg_warn "$(translate "Some conflicting utilities may not have been removed")" + msg_warn "$(translate "Some old time services could not be removed (not installed)")" fi + msg_info "$(translate "Updating packages...")" apt-get install pv -y > /dev/null 2>&1 msg_ok "$(translate "Packages updated successfully")" @@ -330,6 +332,7 @@ EOF echo -e "${TAB}${GN}🖥️ $(translate "Proxmox VE")${CL}: ${BL}$target_version (Debian $OS_CODENAME)${CL}" msg_ok "$(translate "Proxmox VE 9.x configuration completed.")" + } if [[ "${BASH_SOURCE[0]}" == "${0}" ]]; then