From 0e6231dfbdcf6436964149d2dc604179ae26c42e Mon Sep 17 00:00:00 2001 From: Andrei Pohilko Date: Fri, 20 Jan 2023 13:32:55 +0000 Subject: [PATCH] Better debug flag logic --- scripts/install_plugin.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts/install_plugin.sh b/scripts/install_plugin.sh index 353e51e..b01c65f 100755 --- a/scripts/install_plugin.sh +++ b/scripts/install_plugin.sh @@ -2,9 +2,7 @@ # Copied w/ love from the chartmuseum/helm-push :) -if [ -n "$HELM_DEBUG" ]; then - set -x -fi +[ -z "$HELM_DEBUG" ] || set -x name="helm-dashboard" repo="https://github.com/komodorio/${name}"