From 898dbda4fcc4c37e1dfe2e9a8dc3455304532c0d Mon Sep 17 00:00:00 2001 From: Izzat Zuliya R <34620941+izzatzr@users.noreply.github.com> Date: Fri, 29 May 2020 12:46:48 +0700 Subject: [PATCH] Update install.sh change --version flag to new v3 subcommand --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index f5b77d1b..994000da 100755 --- a/install.sh +++ b/install.sh @@ -62,7 +62,7 @@ verifySupported() { # if it needs to be changed. checkK3dInstalledVersion() { if [[ -f "${K3D_INSTALL_DIR}/${APP_NAME}" ]]; then - local version=$(k3d --version | cut -d " " -f3) + local version=$(k3d version | cut -d " " -f3) if [[ "$version" == "$TAG" ]]; then echo "k3d ${version} is already ${DESIRED_VERSION:-latest}" return 0