File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -509,7 +509,7 @@ if [ "$DOCKERC_PRINT_VERSION" = 'true' ]; then
509509 LATEST_VERSION=$( get_latest_version)
510510 if [ -z " $LATEST_VERSION " ]; then
511511 echo ' Notice: Failed to get DockerC latest version.' >&2
512- elif [ " $VERSION " != " $LATEST_VERSION " ]; then
512+ elif [ " $VERSION " != " ${ LATEST_VERSION# v} " ]; then
513513 echo " Notice: DockerC is not up to date, latest version is $LATEST_VERSION !" >&2
514514 fi
515515 fi
@@ -541,7 +541,6 @@ if [ "$UPDATE" = 'true' ]; then
541541
542542 if [ " $DRY_RUN " = ' false' ]; then
543543 # Run install script command
544- echo " Updating DockerC to ${INSTALL_TAG} ..."
545544 exec sh -c " curl -fsSL \" https://raw.githubusercontent.com/matiboux/dockerc/HEAD/install.sh\" | /bin/sh -s -- --install-dir \" ${INSTALL_DIR} \" ${INSTALL_TAG_ARG} "
546545 fi
547546
You can’t perform that action at this time.
0 commit comments