Redownload hugo if not extended version.
This commit is contained in:
parent
9299abf27c
commit
09ff7fbf5e
@ -1,7 +1,7 @@
|
||||
#!/bin/bash -e
|
||||
set -Eeuo pipefail
|
||||
|
||||
if [[ ! -f hugo/hugo ]]; then
|
||||
if [[ ! -f hugo/hugo ]] || ( ! ( hugo/hugo version | grep -q extended ) ); then
|
||||
curl -L https://github.com/gohugoio/hugo/releases/download/v0.110.0/hugo_extended_0.110.0_linux-amd64.tar.gz | tar -xvz -C hugo/
|
||||
fi
|
||||
export PATH="$(pwd)/hugo:$PATH"
|
||||
|
Loading…
Reference in New Issue
Block a user