From cbb146101021dc7109ee117c953febeec0d31317 Mon Sep 17 00:00:00 2001 From: bcambl Date: Wed, 1 Jan 2020 12:41:33 -0600 Subject: [PATCH] add stdout horizontal rule to install_dependent_packages() Signed-off-by: bcambl --- automated install/basic-install.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/automated install/basic-install.sh b/automated install/basic-install.sh index 9352fcb0..39f3a53c 100755 --- a/automated install/basic-install.sh +++ b/automated install/basic-install.sh @@ -1645,7 +1645,10 @@ install_dependent_packages() { done if [[ "${#installArray[@]}" -gt 0 ]]; then test_dpkg_lock + printf " %b Processing %s install(s) for: %s, please wait...\\n" "${INFO}" "${PKG_MANAGER}" "${installArray[*]}" + printf '%*s\n' "$columns" '' | tr " " -; "${PKG_INSTALL[@]}" "${installArray[@]}" + printf '%*s\n' "$columns" '' | tr " " -; return fi printf "\\n" @@ -1663,7 +1666,10 @@ install_dependent_packages() { fi done if [[ "${#installArray[@]}" -gt 0 ]]; then - "${PKG_INSTALL[@]}" "${installArray[@]}" &> /dev/null + printf " %b Processing %s install(s) for: %s, please wait...\\n" "${INFO}" "${PKG_MANAGER}" "${installArray[*]}" + printf '%*s\n' "$columns" '' | tr " " -; + "${PKG_INSTALL[@]}" "${installArray[@]}" + printf '%*s\n' "$columns" '' | tr " " -; return fi printf "\\n"