File tree 1 file changed +6
-0
lines changed
1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ HAS_WGET="$(type "wget" &> /dev/null && echo true || echo false)"
30
30
HAS_OPENSSL=" $( type " openssl" & > /dev/null && echo true || echo false) "
31
31
HAS_GPG=" $( type " gpg" & > /dev/null && echo true || echo false) "
32
32
HAS_GIT=" $( type " git" & > /dev/null && echo true || echo false) "
33
+ HAS_TAR=" $( type " tar" & > /dev/null && echo true || echo false) "
33
34
34
35
# initArch discovers the architecture for this system.
35
36
initArch () {
@@ -102,6 +103,11 @@ verifySupported() {
102
103
if [ " ${HAS_GIT} " != " true" ]; then
103
104
echo " [WARNING] Could not find git. It is required for plugin installation."
104
105
fi
106
+
107
+ if [ " ${HAS_TAR} " != " true" ]; then
108
+ echo " [ERROR] Could not find tar. It is required to extract the helm binary archive."
109
+ exit 1
110
+ fi
105
111
}
106
112
107
113
# checkDesiredVersion checks if the desired version is available.
You can’t perform that action at this time.
0 commit comments