diff options
author | crupest <crupest@outlook.com> | 2022-12-02 13:54:46 +0800 |
---|---|---|
committer | crupest <crupest@outlook.com> | 2022-12-02 13:54:46 +0800 |
commit | e48986d206bef7a5177645ac19e1a996f9874a3c (patch) | |
tree | 2d9c5d897ccac14c7a6a992cadaba746f8f4406c /docker/crupest-blog/install-hugo.bash | |
parent | a03f8cfac83ed84a9e284f4b47762e2785ab63c8 (diff) | |
download | crupest-e48986d206bef7a5177645ac19e1a996f9874a3c.tar.gz crupest-e48986d206bef7a5177645ac19e1a996f9874a3c.tar.bz2 crupest-e48986d206bef7a5177645ac19e1a996f9874a3c.zip |
Try to fix hugo.
Diffstat (limited to 'docker/crupest-blog/install-hugo.bash')
-rwxr-xr-x | docker/crupest-blog/install-hugo.bash | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docker/crupest-blog/install-hugo.bash b/docker/crupest-blog/install-hugo.bash index a79ad60..ff83b3c 100755 --- a/docker/crupest-blog/install-hugo.bash +++ b/docker/crupest-blog/install-hugo.bash @@ -6,3 +6,5 @@ VERSION=$(curl -s https://api.github.com/repos/gohugoio/hugo/releases/latest | g url="https://github.com/gohugoio/hugo/releases/download/v${VERSION}/hugo_extended_${VERSION}_linux-amd64.tar.gz" curl -fL -o /root/hugo.tar.gz "${url}" tar -xzf /root/hugo.tar.gz -C /usr/bin hugo + +hugo version |