From e407b55bac9d71f80d6046d16fa8608ec7784fb5 Mon Sep 17 00:00:00 2001 From: Dominique Barton Date: Wed, 20 Jan 2016 21:54:25 +0100 Subject: [PATCH] BUGFIX: Version switch --- couchpotato.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}