This commit is contained in:
Heavybullets8 2022-07-26 19:04:27 -06:00
parent e0ba0935b8
commit 05051adf23
2 changed files with 21 additions and 22 deletions

View File

@ -35,6 +35,7 @@ done
} }
export -f commander export -f commander
update_apps(){ update_apps(){
app_name=$(echo "${array[$it]}" | awk -F ',' '{print $1}') #print out first catagory, name. app_name=$(echo "${array[$it]}" | awk -F ',' '{print $1}') #print out first catagory, name.
printf '%s\0' "${ignore[@]}" | grep -iFxqz "${app_name}" && echo -e "\n$app_name\nIgnored, skipping" && return 0 #If application is on ignore list, skip printf '%s\0' "${ignore[@]}" | grep -iFxqz "${app_name}" && echo -e "\n$app_name\nIgnored, skipping" && return 0 #If application is on ignore list, skip
@ -86,8 +87,6 @@ rollback_version=$(echo "${array[$it]}" | awk -F ',' '{print $4}' | awk -F '_' '
echo_array+=("\n$app_name\nMajor Release, update manually") echo_array+=("\n$app_name\nMajor Release, update manually")
return 0 return 0
fi fi
} }
export -f update_apps export -f update_apps