From 07cc5b501cef7c3ce1df6a11d17a87d13bfb5561 Mon Sep 17 00:00:00 2001 From: bcambl Date: Sun, 13 Oct 2019 11:44:15 -0600 Subject: [PATCH] replace debconf-apt-progress with apt-get in install_dependent_packages() Removes the need for conditional debconf-apt-progress dependency checking Signed-off-by: bcambl --- automated install/basic-install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 91858f0b..9352fcb0 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1632,7 +1632,7 @@ install_dependent_packages() { # amount of download traffic. # NOTE: We may be able to use this installArray in the future to create a list of package that were # installed by us, and remove only the installed packages, and not the entire list. - if is_command debconf-apt-progress ; then + if is_command apt-get ; then # For each package, for i in "$@"; do printf " %b Checking for %s..." "${INFO}" "${i}" @@ -1645,7 +1645,7 @@ install_dependent_packages() { done if [[ "${#installArray[@]}" -gt 0 ]]; then test_dpkg_lock - debconf-apt-progress -- "${PKG_INSTALL[@]}" "${installArray[@]}" + "${PKG_INSTALL[@]}" "${installArray[@]}" return fi printf "\\n"