diff --git a/.build/software/gogs/build.bash b/.build/software/gogs/build.bash index 4c0461cab0..58f423f1d5 100755 --- a/.build/software/gogs/build.bash +++ b/.build/software/gogs/build.bash @@ -12,7 +12,7 @@ G_AGDUG gcc libc6-dev "${deps[@]}" # shellcheck disable=SC1091 . /etc/bashrc.d/go.sh # - Trixie: Workaround for missing HOME, as we run dietpi-login from a systemd service instead of after an actual autologin, so that GOPATH is not defined either: go: go: module cache not found: neither GOMODCACHE nor GOPATH is set -[[ $HOME ]] || HOME='/root' +[[ $HOME ]] || export HOME='/root' G_EXEC_OUTPUT=1 G_EXEC go install 'gogs.io/gogs@latest' # Archive