From ae8badbdaa871ed94b51c8180405234451eeb453 Mon Sep 17 00:00:00 2001 From: VHSgunzo Date: Thu, 7 Nov 2024 10:59:46 +0300 Subject: [PATCH] Update lib4bin --- lib4bin | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib4bin b/lib4bin index c7339b7..3eab5c5 100755 --- a/lib4bin +++ b/lib4bin @@ -336,7 +336,7 @@ for binary in "${BINARY_LIST[@]}" then SHARUN="${SHARUN:="$(readlink -f "$(which_exe sharun)")"}" SHARUN="${SHARUN:="/tmp/$(uname -m)/sharun"}" - if [ ! -e "$SHARUN" ] + if [ ! -x "$SHARUN" ] then info_msg "Downloading sharun -> '$SHARUN'..." info_msg "$(get_sharun_git_url)" @@ -353,7 +353,7 @@ for binary in "${BINARY_LIST[@]}" exit 1 fi fi - if [ -e "$SHARUN" ] + if [ -x "$SHARUN" ] then try_mkdir "$DST_DIR" cp $varg -f "$SHARUN" "${DST_DIR}/sharun"||exit 1