home · contact · privacy
Don't interrupt installation with questions that could be answered with default.
authorChristian Heller <c.heller@plomlompom.de>
Mon, 11 Nov 2019 21:02:49 +0000 (22:02 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Mon, 11 Nov 2019 21:02:49 +0000 (22:02 +0100)
buster/setup_scripts/install_for_target.sh

index 08723d5281adc40513644726445f87adfa08050c..86537f9e52eb6d036e399b71e5485c13c781d499 100755 (executable)
@@ -13,7 +13,7 @@ for target in "$@"; do
     cat "${path}" | while read line; do
         echo "$line"
         if [ ! $(echo "${line}" | cut -c1) = "#" ]; then
-            apt-get -y install "${line}"
+            apt-get -y -o Dpkg::Options::=--force-confdef install "${line}"
         fi
     done
 done