From 18853e672e0c928c6c08d31a02f21f84f17bb929 Mon Sep 17 00:00:00 2001 From: username-is-already-taken2 Date: Wed, 20 Dec 2017 14:00:32 +0000 Subject: [PATCH] 'debconf-apt-progress' seems to be broken on ubuntu --- auto_install/install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/auto_install/install.sh b/auto_install/install.sh index 7d32278..2427c04 100755 --- a/auto_install/install.sh +++ b/auto_install/install.sh @@ -474,7 +474,13 @@ install_dependent_packages() { echo iptables-persistent iptables-persistent/autosave_v6 boolean false | $SUDO debconf-set-selections if command -v debconf-apt-progress &> /dev/null; then - $SUDO debconf-apt-progress -- ${PKG_INSTALL} "${argArray1[@]}" + case ${PLAT} in + Ubuntu) + # ATM debconf-apt-progress seems broken in ubuntu - 2017.12.20 + $SUDO ${PKG_INSTALL} "${argArray1[@]}";; + *) + $SUDO debconf-apt-progress -- ${PKG_INSTALL} "${argArray1[@]}";; + esac else for i in "${argArray1[@]}"; do echo -n "::: Checking for $i..."