added traefik script, and updated hugo script

This commit is contained in:
2023-10-10 20:03:43 -07:00
parent ef659774d7
commit 797b4d8de6
5 changed files with 86 additions and 1 deletions

View File

@ -37,8 +37,11 @@ if [ -n "$(uname -a | grep armv6l)" ]; then
fi
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"
sudo apt update
sudo apt install snapd
sudo snap install dart-sass
fi
cd /tmp/hugo/
tar -xzf /tmp/hugo/*.tar.gz