From 8a79c3d8ba5de8dc7e915f558a4480e781ae56ec Mon Sep 17 00:00:00 2001 From: Sophia Atkinson Date: Fri, 11 Aug 2023 08:25:14 -0700 Subject: [PATCH] updated to use hugo extended --- scripts/hugoinstall.sh | 6 +++--- scripts/unattended/hugoinstall.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/hugoinstall.sh b/scripts/hugoinstall.sh index cc1e811..d629b3a 100644 --- a/scripts/hugoinstall.sh +++ b/scripts/hugoinstall.sh @@ -29,15 +29,15 @@ rm -rf /tmp/hugo/ mkdir /tmp/hugo/ VER=$(curl --silent "https://api.github.com/repos/gohugoio/hugo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed 's|[v,]||g' ) if [ -n "$(uname -a | grep x86_64)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"_linux-amd64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"_linux-amd64.tar.gz" + curl -fsSL -o "/tmp/hugo/hugo_extended_"$VER"_linux-amd64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"_linux-amd64.tar.gz" fi if [ -n "$(uname -a | grep armv6l)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"-arm64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm64.tar.gz" + curl -fsSL -o "/tmp/hugo/hugo_extended_"$VER"-arm64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm64.tar.gz" fi if [ -n "$(uname -a | grep armv7l)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"-arm.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm.tar.gz" + 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" fi cd /tmp/hugo/ tar -xzf /tmp/hugo/*.tar.gz diff --git a/scripts/unattended/hugoinstall.sh b/scripts/unattended/hugoinstall.sh index b2e6c0a..dd1cbf5 100644 --- a/scripts/unattended/hugoinstall.sh +++ b/scripts/unattended/hugoinstall.sh @@ -13,15 +13,15 @@ rm -rf /tmp/hugo/ mkdir /tmp/hugo/ VER=$(curl --silent "https://api.github.com/repos/gohugoio/hugo/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/' | sed 's|[v,]||g' ) if [ -n "$(uname -a | grep x86_64)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"_linux-amd64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"_linux-amd64.tar.gz" + curl -fsSL -o "/tmp/hugo/hugo_extended_"$VER"_linux-amd64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"_linux-amd64.tar.gz" fi if [ -n "$(uname -a | grep armv6l)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"-arm64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm64.tar.gz" + curl -fsSL -o "/tmp/hugo/hugo_extended_"$VER"-arm64.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm64.tar.gz" fi if [ -n "$(uname -a | grep armv7l)" ]; then - curl -fsSL -o "/tmp/hugo/hugo_"$VER"-arm.tar.gz" "https://github.com/gohugoio/hugo/releases/download/v$VER/hugo_"$VER"-arm.tar.gz" + 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" fi cd /tmp/hugo/ tar -xzf /tmp/hugo/*.tar.gz