From 80d17d187d433db951a689c543c0578d6c72d8e7 Mon Sep 17 00:00:00 2001 From: Zadkiel AHARONIAN Date: Tue, 9 Jul 2024 19:36:33 +0200 Subject: [PATCH] Update helm-git-plugin.sh --- helm-git-plugin.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helm-git-plugin.sh b/helm-git-plugin.sh index a5ef705..fa50101 100755 --- a/helm-git-plugin.sh +++ b/helm-git-plugin.sh @@ -400,7 +400,7 @@ main() { # shellcheck disable=SC2317 cleanup() { rm -rf "$git_root_path" "${helm_home_target_path:-}" - [ "$cache_charts_enabled" = 0 ] || rm -rf "${helm_target_path:-}" + [ "$cache_charts_enabled" = 1 ] || rm -rf "${helm_target_path:-}" } trap cleanup EXIT