From 58ab28ef0fd5c2d0a79f3045d88609de049177b7 Mon Sep 17 00:00:00 2001 From: Heavybullets8 Date: Sun, 31 Jul 2022 13:03:45 -0600 Subject: [PATCH] remove spaces --- functions/update_apps.sh | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/functions/update_apps.sh b/functions/update_apps.sh index be33626f..a8a19287 100644 --- a/functions/update_apps.sh +++ b/functions/update_apps.sh @@ -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 \ No newline at end of file