Skip to content

Commit

Permalink
Update setup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
Xtigyro authored Sep 2, 2022
1 parent 1839343 commit b8d1203
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ if ! `"$EXEC_DIR"/kubectl version --client=true 2>/dev/null | grep -q "$KUBECTL_
yes | sudo cp "$CACHE_DIR"/kubectl "$EXEC_DIR/kubectl" >/dev/null 2>&1
fi
echo -e "\n${LIGHT_GREEN}kubectl installed:${NC}" && \
"$EXEC_DIR/kubectl" version --client=true && \
"$EXEC_DIR/kubectl" version --client=true --output=yaml && \
source <("$EXEC_DIR/kubectl" completion bash 2>/dev/null)
else
echo -e "\n${LIGHT_GREEN}kubectl present:${NC}" && \
"$EXEC_DIR/kubectl" version --client=true && \
"$EXEC_DIR/kubectl" version --client=true --output=yaml && \
source <("$EXEC_DIR/kubectl" completion bash 2>/dev/null)
fi

Expand Down

0 comments on commit b8d1203

Please sign in to comment.