From 06ecfe103483f96af7207d7a2473095e1d3004bb Mon Sep 17 00:00:00 2001 From: constantprojects Date: Tue, 24 Feb 2026 08:41:35 -0700 Subject: [PATCH] Auto-keep existing config files during apt upgrade Adds --force-confold to prevent interactive dpkg prompts (e.g. sshd_config) that would block unattended installation. Co-Authored-By: Claude Opus 4.6 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 9e07839..820d051 100755 --- a/install.sh +++ b/install.sh @@ -75,7 +75,7 @@ echo "Updating system packages..." echo " Downloading the latest security patches for your operating system." echo " On a fresh server this can take 2-10 minutes. Sit tight." $SUDO apt-get update -qq -$SUDO apt-get upgrade -y -qq +$SUDO apt-get upgrade -y -qq -o Dpkg::Options::="--force-confold" echo "System packages updated." # Install firewall, fail2ban, and automatic updates