fix curl name for hugo script

Signed-off-by: Sophia Atkinson <sophialul@protonmail.com>
This commit is contained in:
2023-10-04 04:57:24 -07:00
parent 0fbfaae109
commit ef659774d7

View File

@ -21,7 +21,7 @@ if [ -n "$(uname -a | grep armv6l)" ]; then
fi fi
if [ -n "$(uname -a | grep armv7l)" ]; then if [ -n "$(uname -a | grep armv7l)" ]; then
curl -fsSL -o "/tmp/hugo/hugo_extended_"$VER"-arm.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm.tar.gz" curl -fsSL -o "/tmp/hugo/hugo_"$VER"-arm.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm.tar.gz"
echo "Hugo Extended is not supported on armv7l, Installing Hugo standard" echo "Hugo Extended is not supported on armv7l, Installing Hugo standard"
fi fi
cd /tmp/hugo/ cd /tmp/hugo/