You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
413 B
11 lines
413 B
# Update with GO_BOOTSTRAP_MIN version in dev-lang/go
|
|
GO_BOOTSTRAP_MIN=1.20.14
|
|
|
|
sudo rsync -rvP build/install-go/ /usr/lib/go-bootstrap
|
|
sudo mkdir -p /var/db/pkg/dev-lang/go-bootstrap-$GO_BOOTSTRAP_MIN
|
|
echo 0 | sudo tee /var/db/pkg/dev-lang/go-bootstrap-$GO_BOOTSTRAP_MIN/SLOT > /dev/null
|
|
|
|
sudo emerge dev-lang/go
|
|
|
|
sudo rm -rf /usr/lib/go-bootstrap
|
|
sudo rm -rf /var/db/pkg/dev-lang/go-bootstrap-$GO_BOOTSTRAP_MIN
|
|
|