mirror of
https://github.com/aclist/dztui.git
synced 2026-11-01 07:32:44 +01:00
Populate branch value correctly
This commit is contained in:
1 parent
fdeb29c5a9
commit
893413cfe1
1 file changed
+3
-2
@@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=2.4.0-rc.2
|
version=2.4.0-rc.3
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
workshop="steam://url/CommunityFilePage/"
|
workshop="steam://url/CommunityFilePage/"
|
||||||
@@ -143,7 +143,7 @@ name="$name"
|
|||||||
debug="0"
|
debug="0"
|
||||||
|
|
||||||
#Toggle stable/testing branch
|
#Toggle stable/testing branch
|
||||||
branch="stable"
|
branch="$branch"
|
||||||
|
|
||||||
#Last seen news item
|
#Last seen news item
|
||||||
seen_news=""
|
seen_news=""
|
||||||
@@ -753,6 +753,7 @@ prompt_dl(){
|
|||||||
}
|
}
|
||||||
check_version(){
|
check_version(){
|
||||||
source $config_file
|
source $config_file
|
||||||
|
[[ -z $branch ]] && branch="stable"
|
||||||
check_branch
|
check_branch
|
||||||
if [[ $version == $upstream ]]; then
|
if [[ $version == $upstream ]]; then
|
||||||
check_unmerged
|
check_unmerged
|
||||||
|
|||||||
Reference in new issue
Block a user