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