Added else
authorFelix Ableitner <me@nutomic.com>
Thu, 27 Sep 2018 18:12:41 +0000 (13:12 -0500)
committerChocobozzz <me@florianbigard.com>
Fri, 28 Sep 2018 08:35:59 +0000 (10:35 +0200)
scripts/upgrade.sh

index 0ff755b458037456a80ce4faf81c3cf864034353..23a19b10d1b41ffd2325e81ba0776bac9d955a96 100755 (executable)
@@ -38,6 +38,8 @@ if [ "$RELEASE_VERSION" != "$PRE_RELEASE_VERSION" ]; then
       [2]* ) VERSION="$PRE_RELEASE_VERSION";;
       * ) exit;
   esac
+else
+  VERSION="$RELEASE_VERSION"
 fi
 
 echo "Installing Peertube version $VERSION"