who knowws
This commit is contained in:
parent
53a7048dc4
commit
13a13cdbd7
@ -11,7 +11,7 @@ update_limit=2
|
|||||||
|
|
||||||
for i in "${array[@]}"
|
for i in "${array[@]}"
|
||||||
do
|
do
|
||||||
update_apps "$i" &
|
update_apps "$i" && (( current_updates-- )) &
|
||||||
(( current_updates++ ))
|
(( current_updates++ ))
|
||||||
processes+=($!)
|
processes+=($!)
|
||||||
while [[ "$current_updates" -ge "$update_limit" ]]
|
while [[ "$current_updates" -ge "$update_limit" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user