diff --git a/dzgui.sh b/dzgui.sh index bef441f..79e0341 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -2004,7 +2004,11 @@ fetch_dzq(){ curl -Ls "$url" > $helpers_path/a2s/$repo.py } fetch_query(){ - [[ $(md5sum $helpers_path/query.py | awk '{print $1}') == "7cbae12ae68b526e7ff376b638123cc7" ]] && return + local sum="d52ff070b5bb36ace2fce2d914479f47" + local file="$helpers_path/query.py" + 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"