From 611da652391ba476fba72b820ce32c3496362905 Mon Sep 17 00:00:00 2001 From: surtur Date: Wed, 20 May 2020 12:46:42 +0200 Subject: [PATCH] feat: use curl instead of wget --- bin/gethugo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ..