X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/static/gitweb.css?a=blobdiff_plain;f=buster%2Fsetup_scripts%2Finstall_for_target.sh;h=853a67295b80065b94e5c8d6eb1b83743bd5a6f6;hb=229bf1d61b7c115094a2c065ecdb9df4f04ed4dd;hp=08723d5281adc40513644726445f87adfa08050c;hpb=294f68b4b41770a485517e2f492b643d2061a488;p=config diff --git a/buster/setup_scripts/install_for_target.sh b/buster/setup_scripts/install_for_target.sh index 08723d5..853a672 100755 --- a/buster/setup_scripts/install_for_target.sh +++ b/buster/setup_scripts/install_for_target.sh @@ -10,10 +10,11 @@ aptmark_dir="${config_tree_prefix}/apt-mark" for target in "$@"; do path="${aptmark_dir}/${target}" + # TODO: continue if file at $path not found, to get rid of dummy files cat "${path}" | while read line; do echo "$line" if [ ! $(echo "${line}" | cut -c1) = "#" ]; then - apt-get -y install "${line}" + DEBIAN_FRONTEND=noninteractive apt-get -y -o Dpkg::Options::=--force-confold install "${line}" fi done done