From 8a39ee361feb9bf46d728ff1ba4f07ca1d9610b1 Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Thu, 19 Jun 2014 09:22:53 +0200 Subject: Imported Upstream version 1.3 --- misc/makerelease/darwin/scripts/preinstall | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 misc/makerelease/darwin/scripts/preinstall (limited to 'misc/makerelease/darwin/scripts/preinstall') diff --git a/misc/makerelease/darwin/scripts/preinstall b/misc/makerelease/darwin/scripts/preinstall new file mode 100755 index 000000000..4cdaaa4bc --- /dev/null +++ b/misc/makerelease/darwin/scripts/preinstall @@ -0,0 +1,8 @@ +#!/bin/bash + +GOROOT=/usr/local/go + +echo "Removing previous installation" +if [ -d $GOROOT ]; then + rm -r $GOROOT +fi -- cgit v1.2.3