1
0
mirror of https://github.com/golang/go synced 2024-09-30 14:28:33 -06:00
go/misc/dist/darwin/scripts/preinstall
Rob Pike 1d1142f178 misc/dist/darwin: add execute bit to preinstall
Fixes #5258.

R=golang-dev, iant, minux.ma
CC=golang-dev
https://golang.org/cl/8682043
2013-04-11 13:40:14 -07: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