From a039c93c05077b240281ff0f32bacd51a2f474c4 Mon Sep 17 00:00:00 2001 From: MacRimi <123239993+MacRimi@users.noreply.github.com> Date: Sun, 3 Aug 2025 23:13:36 +0200 Subject: [PATCH] Update customizable_post_install.sh --- scripts/post_install/customizable_post_install.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/post_install/customizable_post_install.sh b/scripts/post_install/customizable_post_install.sh index 0f6a63f..5d08dda 100644 --- a/scripts/post_install/customizable_post_install.sh +++ b/scripts/post_install/customizable_post_install.sh @@ -2345,6 +2345,7 @@ remove_subscription_banner() { find /var/cache/pve-manager/ -name "*.js*" -delete 2>/dev/null || true find /var/lib/pve-manager/ -name "*.js*" -delete 2>/dev/null || true + [[ -f "$APT_HOOK" ]] && rm -f "$APT_HOOK" cat > "$APT_HOOK" << 'EOF' DPkg::Post-Invoke { "test -e /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js && sed -i 's/res\\.data\\.status\\.toLowerCase() !== \\'NoMoreNagging\\'/false/g' /usr/share/javascript/proxmox-widget-toolkit/proxmoxlib.js || true";