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