projects
/
webi-installers
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e282849
)
bugfix(yq): update install.sh for new package format
author
liudonghua
<liudonghua123@gmail.com>
Wed, 17 Nov 2021 05:14:25 +0000
(13:14 +0800)
committer
AJ ONeal
<aj@therootcompany.com>
Sun, 21 Nov 2021 03:22:27 +0000
(
03:22
+0000)
yq/install.sh
patch
|
blob
|
history
diff --git
a/yq/install.sh
b/yq/install.sh
index 4d3ad85e52b24844fc489bdd59cd30219d257d57..4cb7c078682fdedbea1969b137e09b80ff136b87 100644
(file)
--- 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"
}