home · contact · privacy
Use confold instead of confdef for package installation script.
[config] / buster / setup_scripts / install_for_target.sh
index 86537f9e52eb6d036e399b71e5485c13c781d499..3852e0de74d46c9fbd8fcfa52a547d35bb227d33 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-confdef install "${line}"
+            apt-get -y -o Dpkg::Options::=--force-confold install "${line}"
         fi
     done
 done