force keeping config files

This commit is contained in:
Léo Haf 2025-02-27 14:19:38 +01:00 committed by GitHub
parent 3d186dd312
commit cfa6127c9a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -351,7 +351,7 @@ grep -q "^nameserver 8.8.8.8$" /etc/resolv.conf || echo "nameserver 8.8.8.8" >>
echo -e "\n*** UPDATE Debian***"
apt-get update -y
apt-get upgrade -f -y
apt-get upgrade -f -y -o Dpkg::Options::="--force-confold"
echo -e "\n*** SOFTWARE UPDATE ***"
# based on https://raspibolt.org/system-configuration.html#system-update