1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-10 06:13:02 +02:00

chore: backports from stable

This commit is contained in:
aclist 2023-11-23 13:23:23 +09:00
parent 87ad1acb7d
commit 1b6fb4c9e7

View file

@ -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"