home · contact · privacy
Fix noninteractivity failure.
[config] / 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