Skip to content

Commit

Permalink
v8.24
Browse files Browse the repository at this point in the history
- CI | Gogs: Workaround for missing HOME on Trixie, as we run this script from a systemd service instead of from an autologin session, so that GOPATH is not defined either: go: go: module cache not found: neither GOMODCACHE nor GOPATH is set
  • Loading branch information
MichaIng committed Oct 31, 2023
1 parent f03849e commit 48d2cd4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .build/software/gogs/build.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ G_AGDUG gcc libc6-dev "${deps[@]}"
# Download & Build
# 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'
G_EXEC_OUTPUT=1 G_EXEC go install 'gogs.io/gogs@latest'

# Archive
Expand Down

0 comments on commit 48d2cd4

Please sign in to comment.