Use smarter functions for rc.local/ scripts
This commit is contained in:
@@ -1,2 +1,4 @@
|
||||
prepend_path "$HOME/go/bin"
|
||||
export GOROOT=$(go env GOROOT)
|
||||
prepend_path_try "$HOME/go/bin"
|
||||
if can_run go; then
|
||||
export GOROOT=$(go env GOROOT)
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user