Tweak install.

This commit is contained in:
Jeffrey Regan
2019-12-05 15:17:33 -08:00
parent 567bc834c9
commit 04bfb3e94d
2 changed files with 4 additions and 3 deletions

View File

@@ -7,7 +7,7 @@
where=$PWD
if [ -f $where/kustomize ]; then
echo "kustomize already exists. Try: rm kustomize"
echo "A file named kustomize already exists (remove it first)."
exit 1
fi
@@ -38,7 +38,7 @@ curl -s https://api.github.com/repos/kubernetes-sigs/kustomize/releases |\
cut -d '"' -f 4 |\
grep /kustomize/v |\
sort | tail -n 1 |\
xargs curl -O -L
xargs curl -s -O -L
tar xzf ./kustomize_v*_${opsys}_amd64.tar.gz