go/misc/makerelease/darwin/scripts/preinstall

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