Only run initial installer progress to 98 to avoid sitting at 100

This commit is contained in:
William Wernert
2021-03-12 11:39:44 -05:00
parent 302d6e03be
commit f80dfda60b
2 changed files with 2 additions and 2 deletions

View File

@@ -1000,7 +1000,7 @@ detect_os() {
installer_progress_loop() { installer_progress_loop() {
local i=0 local i=0
while true; do while true; do
((i++)) [[ $i -lt 98 ]] && ((i++))
set_progress_str "$i" 'Checking that all required packages are installed and enabled...' nolog set_progress_str "$i" 'Checking that all required packages are installed and enabled...' nolog
[[ $i -gt 0 ]] && sleep 5s [[ $i -gt 0 ]] && sleep 5s
done done

View File

@@ -283,7 +283,7 @@ fi
percentage=0 percentage=0
{ {
installer_progress_loop & # Run progress bar to 100 in ~8 minutes while waiting for package installs installer_progress_loop & # Run progress bar to 98 in ~8 minutes while waiting for package installs
progress_bg_proc=$! progress_bg_proc=$!
installer_prereq_packages installer_prereq_packages
install_success=$? install_success=$?