From 893413cfe16895160a76355f36946311f66d3bf7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 1 Aug 2022 02:52:59 +0900 Subject: [PATCH] Populate branch value correctly --- dzgui.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index b7b592b..24d6b97 100644 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=2.4.0-rc.2 +version=2.4.0-rc.3 aid=221100 game="dayz" workshop="steam://url/CommunityFilePage/" @@ -143,7 +143,7 @@ name="$name" debug="0" #Toggle stable/testing branch -branch="stable" +branch="$branch" #Last seen news item seen_news="" @@ -753,6 +753,7 @@ prompt_dl(){ } check_version(){ source $config_file + [[ -z $branch ]] && branch="stable" check_branch if [[ $version == $upstream ]]; then check_unmerged