From cd0204bb044cc50dbce6794d8f7b21a641628f07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Tue, 11 Jan 2022 23:05:53 +0100 Subject: [PATCH] Update checkLabels.sh --- utils/checkLabels.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/checkLabels.sh b/utils/checkLabels.sh index cb56173..cf776f8 100755 --- a/utils/checkLabels.sh +++ b/utils/checkLabels.sh @@ -284,13 +284,13 @@ rm checkLabelCurrent.sh #${SELFLOCATION}/Installomator.sh version #echo -if [[ countWarning > 0 ]]; then +if [[ countWarning -gt 0 ]]; then echo "${YELLOW}Warnings counted: $countWarning${NC}" echo "${YELLOW}${warningLabels}${NC}" else echo "${GREEN}No warnings detected!${NC}" fi -if [[ countError > 0 ]]; then +if [[ countError -gt 0 ]]; then echo "${RED}ERRORS counted: $countError${NC}" echo "${RED}i386 : ${errorLabelsi386}${NC}" echo "${RED}arm64: ${errorLabelsarm64}${NC}"