'debconf-apt-progress' seems to be broken on ubuntu

This commit is contained in:
username-is-already-taken2 2017-12-20 14:00:32 +00:00
parent 041d410bc4
commit 18853e672e

View file

@ -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..."