projects
/
webi-installers
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
refactor: finish moving ssh-* scripts to own installers
[webi-installers/.git]
/
k9s
/
install.sh
diff --git
a/k9s/install.sh
b/k9s/install.sh
index 62a050ed99a88e20e4d3be1e4a1d7edf6423e205..158316cc8b6269f086c655e0bf2ee7b79ee3284a 100644
(file)
--- a/
k9s/install.sh
+++ b/
k9s/install.sh
@@
-1,6
+1,6
@@
#!/bin/bash
#!/bin/bash
-{
+
function __init_k9s()
{
set -e
set -u
set -e
set -u
@@
-37,7
+37,9
@@
# This trims it down to just the version number:
# 0.24.2
# This trims it down to just the version number:
# 0.24.2
- echo $(k9s version 2>/dev/null | grep Version: | cut -d 'v' -f 2)
+ echo $(k9s version 2>
/dev/null | grep Version: | cut -d 'v' -f 2)
}
}
}
}
+
+__init_k9s