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:
e297427
)
update comments and output
author
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 18:43:22 +0000
(12:43 -0600)
committer
AJ ONeal
<coolaj86@gmail.com>
Sun, 14 Jun 2020 18:43:22 +0000
(12:43 -0600)
caddy/install.bash
patch
|
blob
|
history
caddy/releases.js
patch
|
blob
|
history
gitea/install.bash
patch
|
blob
|
history
gitea/releases.js
patch
|
blob
|
history
hugo/install.bash
patch
|
blob
|
history
node/install.bash
patch
|
blob
|
history
node/releases.js
patch
|
blob
|
history
diff --git
a/caddy/install.bash
b/caddy/install.bash
index 75521b3e9a4bbc965282f8b6ec097609618f6aab..73fd2d041bb0831b6115b48cd835c49b7776b5e1 100644
(file)
--- a/
caddy/install.bash
+++ b/
caddy/install.bash
@@
-59,9
+59,11
@@
pkg_install() {
# ex (single file): ./caddy-v2.0.0-linux-amd64.exe
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
# ex (single file): ./caddy-v2.0.0-linux-amd64.exe
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
+ chmod a+x "$pkg_common_cmd"
# ex (single file, nested in directory): ./rg/rg-v13-linux-amd64
#mv ./"$pkg_cmd_name"*/"$pkg_cmd_name"* "$pkg_commend_cmd"
# ex (single file, nested in directory): ./rg/rg-v13-linux-amd64
#mv ./"$pkg_cmd_name"*/"$pkg_cmd_name"* "$pkg_commend_cmd"
+ #chmod a+x "$pkg_common_cmd"
popd 2>&1 >/dev/null
}
popd 2>&1 >/dev/null
}
@@
-74,3
+76,7
@@
pkg_post_install() {
# Adds "$HOME/.local/bin" to PATH
webi_path_add "$pkg_common_bin"
}
# Adds "$HOME/.local/bin" to PATH
webi_path_add "$pkg_common_bin"
}
+
+pkg_post_install_message() {
+ echo "Installed 'caddy' v$WEBI_VERSION as $pkg_common_cmd"
+}
diff --git
a/caddy/releases.js
b/caddy/releases.js
index 0b3c77d82bd039f0c55c4f4fcc92eb2cd22295c1..bc026d13e430e7a20ff7667a0548e51d63ce175b 100644
(file)
--- a/
caddy/releases.js
+++ b/
caddy/releases.js
@@
-16,6
+16,7
@@
module.exports = function (request) {
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
+ all = require('../_common/normalize.js')(all);
console.info(JSON.stringify(all));
});
}
console.info(JSON.stringify(all));
});
}
diff --git
a/gitea/install.bash
b/gitea/install.bash
index 171c03e335a6a5775c4bb01c2811ec1140473f2e..d54a3e5a828bd4d202ca4a220ee59b87ae27bff0 100644
(file)
--- a/
gitea/install.bash
+++ b/
gitea/install.bash
@@
-52,6
+52,7
@@
pkg_install() {
# (this will be "$HOME/.local/bin/gitea" by default)
mkdir -p "$pkg_common_bin"
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
# (this will be "$HOME/.local/bin/gitea" by default)
mkdir -p "$pkg_common_bin"
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
+ chmod a+x "$pkg_common_cmd"
popd 2>&1 >/dev/null
}
popd 2>&1 >/dev/null
}
diff --git
a/gitea/releases.js
b/gitea/releases.js
index 5895554fd48540152c0ac31a3b061f93fba46ef5..41e1ee527782e9c44173b89e04b82d860c165ce1 100644
(file)
--- a/
gitea/releases.js
+++ b/
gitea/releases.js
@@
-16,6
+16,7
@@
module.exports = function (request) {
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
if (module === require.main) {
module.exports(require('@root/request')).then(function (all) {
+ all = require('../_common/normalize.js')(all);
console.info(JSON.stringify(all));
});
}
console.info(JSON.stringify(all));
});
}
diff --git
a/hugo/install.bash
b/hugo/install.bash
index 9c08e61374a57fde15b158125712f6b488af1180..6e3c108939934b2b6d1012614eedfaca93ca659f 100644
(file)
--- a/
hugo/install.bash
+++ b/
hugo/install.bash
@@
-56,6
+56,7
@@
pkg_install() {
# (this will be "$HOME/.local/opt/node-v$WEBI_VERSION" by default)
mkdir -p "$pkg_common_bin"
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
# (this will be "$HOME/.local/opt/node-v$WEBI_VERSION" by default)
mkdir -p "$pkg_common_bin"
mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
+ chmod a+x "$pkg_common_cmd"
popd 2>&1 >/dev/null
}
popd 2>&1 >/dev/null
}
diff --git
a/node/install.bash
b/node/install.bash
index 15feaf8db392a2d0ac7029b1b996aae6f9c93e13..38b842f926851418cee824a76c1bfe11ae0fc75e 100644
(file)
--- a/
node/install.bash
+++ b/
node/install.bash
@@
-127,9
+127,11
@@
pkg_install() {
# ex (single file): ./caddy-v13-linux-amd64.exe
#mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
# ex (single file): ./caddy-v13-linux-amd64.exe
#mv ./"$pkg_cmd_name"* "$pkg_common_cmd"
+ #chmod a+x "$pkg_common_cmd"
# ex (single file, nested in directory): ./rg/rg-v13-linux-amd64
#mv ./"$pkg_cmd_name"*/"$pkg_cmd_name"* "$pkg_commend_cmd"
# ex (single file, nested in directory): ./rg/rg-v13-linux-amd64
#mv ./"$pkg_cmd_name"*/"$pkg_cmd_name"* "$pkg_commend_cmd"
+ #chmod a+x "$pkg_common_cmd"
popd 2>&1 >/dev/null
}
popd 2>&1 >/dev/null
}
diff --git
a/node/releases.js
b/node/releases.js
index c2fc470925fcc114c13cbd0f07b1493483d3788a..9f0077b6515c16d2584746fcc8e52d4f0771b883 100644
(file)
--- a/
node/releases.js
+++ b/
node/releases.js
@@
-140,6
+140,7
@@
module.exports = getAllReleases;
if (module === require.main) {
getAllReleases(require('@root/request')).then(function (all) {
if (module === require.main) {
getAllReleases(require('@root/request')).then(function (all) {
+ all = require('../_common/normalize.js')(all);
console.info(JSON.stringify(all));
//console.info(JSON.stringify(all, null, 2));
});
console.info(JSON.stringify(all));
//console.info(JSON.stringify(all, null, 2));
});