Added sudo into a function install_go
This commit is contained in:
parent
c314cd8d26
commit
58264b817d
@ -98,7 +98,7 @@ function install_go() {
|
||||
if [[ "$(uname)" == "Darwin" ]]; then
|
||||
brew install golang -q
|
||||
elif [[ "$(uname -r)" =~ "gentoo" ]]; then
|
||||
emerge dev-lang/go
|
||||
sudo emerge dev-lang/go
|
||||
fi
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user