From: schmelto Date: Tue, 8 Sep 2020 10:51:52 +0000 (+0200) Subject: resolve issue #100 X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=b4915c67af11dea2ff0df9aaaa340bc375655e27;p=webi-installers%2F.git resolve issue #100 --- 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