Run so-preflight during setup

This commit is contained in:
William Wernert
2021-11-02 11:18:23 -04:00
parent 9a9d1480de
commit e6adb46364
4 changed files with 66 additions and 10 deletions

View File

@@ -1124,9 +1124,10 @@ detect_os() {
installer_progress_loop() {
local i=0
local msg="${1:-Performing background actions...}"
while true; do
[[ $i -lt 98 ]] && ((i++))
set_progress_str "$i" 'Checking that all required packages are installed and enabled...' nolog
set_progress_str "$i" "$msg" nolog
[[ $i -gt 0 ]] && sleep 5s
done
}