mirror of
https://github.com/aclist/dztui.git
synced 2025-05-11 05:03:02 +02:00
chore: backports from stable
This commit is contained in:
parent
87ad1acb7d
commit
1b6fb4c9e7
1 changed files with 5 additions and 1 deletions
6
dzgui.sh
6
dzgui.sh
|
@ -2004,7 +2004,11 @@ fetch_dzq(){
|
||||||
curl -Ls "$url" > $helpers_path/a2s/$repo.py
|
curl -Ls "$url" > $helpers_path/a2s/$repo.py
|
||||||
}
|
}
|
||||||
fetch_query(){
|
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 author="aclist"
|
||||||
local repo="dzgui"
|
local repo="dzgui"
|
||||||
local url="https://raw.githubusercontent.com/$author/dztui/$repo/helpers/query.py"
|
local url="https://raw.githubusercontent.com/$author/dztui/$repo/helpers/query.py"
|
||||||
|
|
Loading…
Reference in a new issue