From 132ff7355ea5c63acff60684f29b03e2fb142c5b Mon Sep 17 00:00:00 2001 From: Victor Hansson Date: Wed, 20 May 2026 13:45:41 +0300 Subject: [PATCH] M #-: Fix hugo mac setup Signed-off-by: Victor Hansson --- setup.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup.sh b/setup.sh index 7200c6f9c..e72afb69e 100755 --- a/setup.sh +++ b/setup.sh @@ -8,9 +8,9 @@ ARCH="$(uname -m)" install_hugo_mac() { TMP_DIR=$(mktemp -d) cd "$TMP_DIR" - wget https://github.com/gohugoio/hugo/releases/download/v0.155.3/hugo_extended_0.155.3_darwin-universal.tar.gz - tar -xzf hugo_extended_0.155.3_darwin-universal.tar.gz - sudo mv hugo /usr/local/bin/ + PKG="hugo_0.155.3_darwin-universal.pkg" + wget "https://github.com/gohugoio/hugo/releases/download/v0.155.3/$PKG" + sudo installer -pkg "$PKG" -target / cd - rm -rfd "$TMP_DIR" hugo version