home · contact · privacy
Fix noninteractivity failure.
authorChristian Heller <c.heller@plomlompom.de>
Sun, 12 Jan 2020 04:59:40 +0000 (05:59 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sun, 12 Jan 2020 04:59:40 +0000 (05:59 +0100)
buster/setup_scripts/install_for_target.sh

index 3852e0de74d46c9fbd8fcfa52a547d35bb227d33..176f3ea54a7cff883346cb564c1b2812eaf1b9d5 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 -o Dpkg::Options::=--force-confold install "${line}"
+            DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=--force-confold install "${line}"
         fi
     done
 done