mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 13:22:35 +01:00
Populate branch value correctly
This commit is contained in:
parent
fdeb29c5a9
commit
893413cfe1
1 changed files with 3 additions and 2 deletions
5
dzgui.sh
5
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
|
||||
|
|
Loading…
Reference in a new issue