From b4915c67af11dea2ff0df9aaaa340bc375655e27 Mon Sep 17 00:00:00 2001 From: schmelto Date: Tue, 8 Sep 2020 12:51:52 +0200 Subject: [PATCH] resolve issue #100 --- _webi/template.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_webi/template.sh b/_webi/template.sh index 274bfa1..4dc0a2c 100644 --- a/_webi/template.sh +++ b/_webi/template.sh @@ -226,7 +226,6 @@ webi_install() { if [ -n "$WEBI_SINGLE" ] || [ "single" == "${1:-}" ]; then mkdir -p "$(dirname $pkg_src_cmd)" mv ./"$pkg_cmd_name"* "$pkg_src_cmd" - chmod a+x "$pkg_src_cmd" else rm -rf "$pkg_src" mv ./"$pkg_cmd_name"* "$pkg_src" @@ -321,6 +320,8 @@ if [ -n "$(command -v pkg_get_current_version)" ]; then pushd "$WEBI_TMP" 2>&1 >/dev/null echo "Installing to $pkg_src_cmd" [ -n "$(command -v pkg_install)" ] && pkg_install || webi_install + chmod a+x "$pkg_src" + chmod a+x "$pkg_src_cmd" popd 2>&1 >/dev/null webi_link -- 2.25.1