mirror of
https://github.com/aclist/dztui.git
synced 2024-12-28 13:22:35 +01:00
fix: if statement
This commit is contained in:
parent
f23ff037d4
commit
108764c285
1 changed files with 4 additions and 2 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -1,7 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
set -o pipefail
|
||||
version=4.0.3
|
||||
version=4.0.4
|
||||
|
||||
aid=221100
|
||||
game="dayz"
|
||||
|
@ -2004,7 +2004,9 @@ fetch_dzq(){
|
|||
fetch_query(){
|
||||
local sum="d52ff070b5bb36ace2fce2d914479f47"
|
||||
local file="$helpers_path/query.py"
|
||||
[[ -f $file ]] && [[ $(md5sum $file | awk '{print $1}') == $sum ]] && return
|
||||
if [[ -f $file ]] && [[ $(md5sum $file | awk '{print $1}') == $sum ]]; then
|
||||
return
|
||||
fi
|
||||
local author="aclist"
|
||||
local repo="dzgui"
|
||||
local url="https://raw.githubusercontent.com/$author/dztui/$repo/helpers/query.py"
|
||||
|
|
Loading…
Reference in a new issue