From: liudonghua Date: Wed, 17 Nov 2021 05:14:25 +0000 (+0800) Subject: bugfix(yq): update install.sh for new package format X-Git-Url: https://git.josue.xyz/?a=commitdiff_plain;h=d14256ec75060195890b654586ee001bf1102c1f;p=webi-installers%2F.git bugfix(yq): update install.sh for new package format --- diff --git a/yq/install.sh b/yq/install.sh index 4d3ad85..4cb7c07 100644 --- a/yq/install.sh +++ b/yq/install.sh @@ -15,7 +15,10 @@ pkg_install() { mkdir -p "$(dirname $pkg_src_cmd)" - mv ./"$pkg_cmd_name"* "$pkg_src_cmd" + # The downloaded file yq_linux_amd64.tar.gz which contains: ./yq_linux_amd64, yq.1, install-man-page.sh now. + mv ./"$pkg_cmd_name"_* "$pkg_src_cmd" + # Todo: need root permission to install man doc + # bash ./install-man-page.sh chmod a+x "$pkg_src_cmd" }