Browse Source

non-interactive2

bookworm
pvincent 3 years ago
parent
commit
2b9b05e664
  1. 4
      src/main

4
src/main

@ -72,16 +72,14 @@ fi
echo "# required packages"
echo "==================="
sudo export DEBIAN_FRONTEND=noninteractive
for package in ${REQUIRED_PACKAGES[@]}; do
runVoid dpkg-query --status $package
if [ $runVoidError -ne 0 ] ; then
echo -n "installing package <$package> ... " ;
sudo apt install -y $package
sudo DEBIAN_FRONTEND=noninteractive apt install -y $package
echo "DONE"
fi
done
sudo unset DEBIAN_FRONTEND
echo "## remove hplip annoyance"
echo "========================="

Loading…
Cancel
Save