feat: use curl instead of wget
This commit is contained in:
parent
582edf277d
commit
611da65239
@ -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 ..
|
||||||
|
Loading…
Reference in New Issue
Block a user