This commit is contained in:
Heavybullets8 2022-07-25 17:45:35 -06:00
parent c131539590
commit 02aa8b6c22

View File

@ -14,7 +14,7 @@ while [[ $it -lt ${#array[@]} ]]
do do
jobs=$(jobs -p | wc -l) jobs=$(jobs -p | wc -l)
if [[ "$jobs" -ge "$update_limit" ]]; then if [[ "$jobs" -ge "$update_limit" ]]; then
sleep 3 sleep 1
else else
update_apps "${array[$it]}" & update_apps "${array[$it]}" &
processes+=($!) processes+=($!)