From 17fa578eb4f5931362f02472f353930e4bac7480 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Thu, 4 Aug 2022 22:03:25 -0600 Subject: [PATCH] test --- functions/update_apps.sh | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index d32bf7da..470c342a 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -9,28 +9,6 @@ echo "Asynchronous Updates: $update_limit" [[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout" [[ "$timeout" -le 120 ]] && echo "Warning: Your timeout is set low and may lead to premature rollbacks or skips" -#rearange array -for i in ${array[$@]} -do - in=$(awk -F ',' '{print $1}') - if printf '%s\0' "${ignore[@]}" | grep -iFxqz "$in" ; then - new_array+=("$i") - elif grep -qs "^$i," failed.txt ; then - new_array+=("$i") - fi -done - -for i in ${array[$@]} -do - in=$(awk -F ',' '{print $1}') - printf '%s\0' "${new_array[@]}" | grep -iFxqz "$in" || new_array+=("$i") -done - -for i in ${new_array[$@]} -do - echo "$i" -done - # previous 20% 2 min 9 seconds it=0 ttl=0