[fix] Set percentage value when needed

This commit is contained in:
William Wernert
2021-03-11 15:25:38 -05:00
parent e60bc87ffa
commit 66da3e380f

View File

@@ -27,6 +27,8 @@ original_args=("$@")
cd "$(dirname "$0")" || exit 255 cd "$(dirname "$0")" || exit 255
echo "Getting started..."
# Source the generic function libraries that are also used by the product after # Source the generic function libraries that are also used by the product after
# setup. These functions are intended to be reusable outside of the setup process. # setup. These functions are intended to be reusable outside of the setup process.
source ../salt/common/tools/sbin/so-common source ../salt/common/tools/sbin/so-common
@@ -272,6 +274,7 @@ fi
if [[ $is_airgap != true ]]; then if [[ $is_airgap != true ]]; then
collect_proxy collect_proxy
fi fi
percentage=0
{ {
installer_progress_loop & # Run progress bar to 100 in ~8 minutes installer_progress_loop & # Run progress bar to 100 in ~8 minutes
progress_bg_proc=$! progress_bg_proc=$!