Code Review
/
csit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
12992a6
)
fix(core): Adopt to executor changes
60/38560/1
author
pmikus
<
[email protected]
>
Mon, 27 Mar 2023 11:32:02 +0000
(11:32 +0000)
committer
pmikus
<
[email protected]
>
Mon, 27 Mar 2023 11:32:02 +0000
(11:32 +0000)
Signed-off-by: pmikus <
[email protected]
>
Change-Id: I206118daa0383e8a7d160aaf1c3dd53fc3ab9279
resources/libraries/bash/function/hugo.sh
patch
|
blob
|
history
diff --git
a/resources/libraries/bash/function/hugo.sh
b/resources/libraries/bash/function/hugo.sh
index
b2e4387
..
bb749bc
100644
(file)
--- a/
resources/libraries/bash/function/hugo.sh
+++ b/
resources/libraries/bash/function/hugo.sh
@@
-65,13
+65,11
@@
function hugo_init_modules () {
# - die - Print to stderr and exit.
if ! installed hugo; then
- #die "Please install Hugo!"
- go_install || die "Failed to install Go!"
- hugo_install || die "Failed to install Hugo!"
- terraform_install || die "Failed to install Terraform!"
+ die "Please install Hugo!"
fi
pushd "${CSIT_DIR}"/docs || die "Pushd failed!"
+ export PATH=$PATH:/usr/local/go/bin
hugo mod get -u || die "Failed to run Hugo mod!"
popd || die "Popd failed!"
}