diff --git a/functions/update_apps.sh b/functions/update_apps.sh index 73f1b7b6..fc0bdae3 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -78,14 +78,14 @@ do if [[ "$proc_count" -ge "$update_limit" ]]; then sleep 3 elif [[ $it -lt ${#array[@]} ]]; then - loop=0 - until [[ "$loop" -ge 2 || $it -ge ${#array[@]} ]]; - do + # loop=0 + # until [[ "$loop" -ge 2 || $it -ge ${#array[@]} ]]; + # do update_apps "${array[$it]}" & processes+=($!) ((loop++)) ((it++)) - done + # done elif [[ $proc_count != 0 ]]; then # Wait for all processes to finish sleep 3 else # All processes must be completed, break out of loop