diff --git a/couchpotato.sh b/couchpotato.sh index 2967f1b..4ecb1e6 100644 --- a/couchpotato.sh +++ b/couchpotato.sh @@ -49,7 +49,7 @@ printf "Getting current version... " CURRENT_VERSION=$(git rev-parse --abbrev-ref HEAD) echo "[${CURRENT_VERSION}]" -if [[ "${CURRENT_VERSION}" == "${VERSION}" ]] +if [[ "${CURRENT_VERSION}" != "${VERSION}" ]] then printf "Checking out CouchPotato version '${VERSION}'... " git checkout -q ${VERSION}