Merge branch 'master' of github.com:rancher/k3d
This commit is contained in:
commit
4ce4dcce4c
@ -62,7 +62,7 @@ verifySupported() {
|
||||
# if it needs to be changed.
|
||||
checkK3dInstalledVersion() {
|
||||
if [[ -f "${K3D_INSTALL_DIR}/${APP_NAME}" ]]; then
|
||||
local version=$(k3d --version | grep 'k3d version' | cut -d " " -f3)
|
||||
local version=$(k3d version | grep 'k3d version' | cut -d " " -f3)
|
||||
if [[ "$version" == "$TAG" ]]; then
|
||||
echo "k3d ${version} is already ${DESIRED_VERSION:-latest}"
|
||||
return 0
|
||||
|
Loading…
Reference in New Issue
Block a user