remove spaces
This commit is contained in:
parent
41e2b9f9ff
commit
58ab28ef0f
@ -3,7 +3,7 @@
|
||||
|
||||
commander(){
|
||||
mapfile -t array < <(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,container_images_update_available,status' | tr -d " \t\r" | grep -E ",true($|,)" | sort)
|
||||
echo -e "\n\n🅄 🄿 🄳 🄰 🅃 🄴 🅂"
|
||||
echo -e "🅄 🄿 🄳 🄰 🅃 🄴 🅂"
|
||||
[[ -z ${array[*]} ]] && echo "There are no updates available" && return 0 || echo "Update(s) Available: ${#array[@]}"
|
||||
echo "Asynchronous Updates: $update_limit"
|
||||
[[ -z $timeout ]] && echo "Default Timeout: 500" && timeout=500 || echo "Custom Timeout: $timeout"
|
||||
@ -35,7 +35,8 @@ do
|
||||
fi
|
||||
done
|
||||
rm temp.txt
|
||||
|
||||
echo
|
||||
echo
|
||||
}
|
||||
export -f commander
|
||||
|
||||
@ -164,7 +165,5 @@ for i in "${echo_array[@]}"
|
||||
do
|
||||
echo -e "$i"
|
||||
done
|
||||
|
||||
|
||||
}
|
||||
export -f after_update_actions
|
Loading…
Reference in New Issue
Block a user