Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DietPi-Software | Go: Do not set GOPATH anymore #5738

Merged
merged 3 commits into from
Sep 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
v8.9
- DietPi-Software | Satisfy shellcheck
  • Loading branch information
MichaIng committed Sep 10, 2022
commit f132885879681fcda8604c7523c2e2d6a47b2356
1 change: 1 addition & 0 deletions dietpi/dietpi-software
Original file line number Diff line number Diff line change
Expand Up @@ -3203,6 +3203,7 @@ unix_socket_directories = '/run/postgresql'" > "$i/00dietpi.conf"
Download_Install "https://golang.org/dl/$file" /usr/local

# Add to PATH, but do not overwrite existing script since we did set GOPATH until v8.9 and do not want to cause a breaking change for existing installs
# shellcheck disable=SC2016
[[ -f '/etc/bashrc.d/go.sh' ]] || echo 'export PATH="$PATH:/usr/local/go/bin"' /etc/bashrc.d/go.sh
# shellcheck disable=SC1091
. /etc/bashrc.d/go.sh
Expand Down