Added sudo into a function install_go

This commit is contained in:
Marcin Woźniak 2023-04-17 23:13:12 +02:00
parent c314cd8d26
commit 58264b817d
Signed by: y0rune
GPG Key ID: F204C385F57EB348

View File

@ -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
}