From 02bf7c0ad87cca8966995f17de487ffc3927c057 Mon Sep 17 00:00:00 2001 From: Kaladin Light <0.kaladin@gmail.com> Date: Wed, 9 Nov 2016 22:33:21 -0500 Subject: [PATCH] Fix apt-get switches to not generate unexpected output --- auto_install/install.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 83955ed..e3d779a 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -372,7 +372,7 @@ unattendedUpgrades() { if (whiptail --backtitle "Security Updates" --title "Unattended Upgrades" --yesno "Do you want to enable unattended upgrades of security patches to this server?" $r $c) then UNATTUPG="unattended-upgrades" - $SUDO apt-get -y -qq --no-install-recommends install "$UNATTUPG" > /dev/null & spinner $! + $SUDO apt-get --yes --quiet --no-install-recommends install "$UNATTUPG" > /dev/null & spinner $! else UNATTUPG="" fi @@ -445,9 +445,9 @@ checkForDependencies() { echo iptables-persistent iptables-persistent/autosave_v6 boolean false | $SUDO debconf-set-selections fi if [[ $i = "expect" ]]; then - $SUDO apt-get -y -qq --no-install-recommends install "$i" > /dev/null & spinner $! + $SUDO apt-get --yes --quiet --no-install-recommends install "$i" > /dev/null & spinner $! else - $SUDO apt-get -y -qq install "$i" > /dev/null & spinner $! + $SUDO apt-get --yes --quiet install "$i" > /dev/null & spinner $! fi echo " done!" else