mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: helper file permissions
This commit is contained in:
parent
138a6ff7c8
commit
24a916c11c
2 changed files with 4 additions and 3 deletions
5
dzgui.sh
5
dzgui.sh
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
|
|
||||||
version=5.3.3-beta.4
|
version=5.3.3-beta.5
|
||||||
|
|
||||||
#CONSTANTS
|
#CONSTANTS
|
||||||
aid=221100
|
aid=221100
|
||||||
|
@ -538,7 +538,7 @@ fetch_helpers_by_sum(){
|
||||||
["ui.py"]="c62e84ddd1457b71a85ad21da662b9af"
|
["ui.py"]="c62e84ddd1457b71a85ad21da662b9af"
|
||||||
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
["query_v2.py"]="55d339ba02512ac69de288eb3be41067"
|
||||||
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
|
||||||
["funcs"]="2ebe0f7072f7a9459007b1d9d09e2f4f"
|
["funcs"]="5ebf7c9694c9ec8df00f0b30871eeb38"
|
||||||
["lan"]="c62e84ddd1457b71a85ad21da662b9af"
|
["lan"]="c62e84ddd1457b71a85ad21da662b9af"
|
||||||
)
|
)
|
||||||
local author="aclist"
|
local author="aclist"
|
||||||
|
@ -577,6 +577,7 @@ fetch_helpers_by_sum(){
|
||||||
logger INFO "Updated '$full_path' to sum '$sum'"
|
logger INFO "Updated '$full_path' to sum '$sum'"
|
||||||
fi
|
fi
|
||||||
[[ $file == "funcs" ]] && chmod +x "$full_path"
|
[[ $file == "funcs" ]] && chmod +x "$full_path"
|
||||||
|
[[ $file == "lan" ]] && chmod +x "$full_path"
|
||||||
done
|
done
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
|
@ -134,7 +134,7 @@ lan_scan(){
|
||||||
local port="$1"
|
local port="$1"
|
||||||
local res
|
local res
|
||||||
res=$("$lan_helper" "$port")
|
res=$("$lan_helper" "$port")
|
||||||
if [[ $? -ne 0 ]]; then
|
if [[ -z $res ]]; then
|
||||||
printf "\n"
|
printf "\n"
|
||||||
else
|
else
|
||||||
printf "%s\n" "$res"
|
printf "%s\n" "$res"
|
||||||
|
|
Loading…
Reference in a new issue