1
0
mirror of https://github.com/golang/go synced 2024-10-02 10:18:33 -06:00
go/misc/makerelease/darwin/scripts/preinstall
Andrew Gerrand dba08e0615 misc/dist: rename to makerelease
The ambiguity has gone on too long.

R=golang-dev, minux.ma, r, dsymonds
CC=golang-dev
https://golang.org/cl/39920043
2013-12-11 14:47:18 +11:00

9 lines
115 B
Bash
Executable File

#!/bin/bash
GOROOT=/usr/local/go
echo "Removing previous installation"
if [ -d $GOROOT ]; then
rm -r $GOROOT
fi