diff --git a/bin/gethugo b/bin/gethugo index 63c7713..4110e96 100755 --- a/bin/gethugo +++ b/bin/gethugo @@ -15,7 +15,7 @@ HOMEBIN="/home/$USER/.local/bin" mkdir -pv $HOMEBIN echo "[*] downloading hugo version \"$HUGO_VERSION\"" -wget -qO- https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | bsdtar xfv - +curl -sL https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz | bsdtar xfv - mv -vf hugo ${HOMEBIN} cd ..