feat: use curl instead of wget

This commit is contained in:
surtur 2020-05-20 12:46:42 +02:00
parent 582edf277d
commit 611da65239
Signed by: wanderer
GPG Key ID: 19CE1EC1D9E0486D

@ -15,7 +15,7 @@ HOMEBIN="/home/$USER/.local/bin"
mkdir -pv $HOMEBIN mkdir -pv $HOMEBIN
echo "[*] downloading hugo version \"$HUGO_VERSION\"" 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} mv -vf hugo ${HOMEBIN}
cd .. cd ..