0
0
mirror of https://github.com/bol-van/zapret.git synced 2025-06-29 18:21:16 +00:00

install_bin: fix TEST=run

This commit is contained in:
bol-van 2025-05-28 22:46:55 +03:00
parent 06f57e27ed
commit 6c9ff2010b

View File

@ -88,6 +88,13 @@ check_dir()
out=$(echo 0.0.0.0 | $FIND "$dir" -maxdepth 1 -name ip2net -exec {} \; 2>/dev/null)
[ -n "$out" ]
;;
run)
out=$(echo 0.0.0.0 | "$exe" 2>/dev/null)
[ -n "$out" ]
;;
*)
false
;;
esac
else
echo >&2 "$exe is not executable. set proper chmod."