From 3c1ea3e670ca8d74df2371fb7e7de12dce174e63 Mon Sep 17 00:00:00 2001 From: Joshua Bussdieker Date: Thu, 23 May 2013 12:44:56 -0700 Subject: [PATCH] Change response to already installed version. --- scripts/install | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 313c547..8e329cf 100755 --- a/scripts/install +++ b/scripts/install @@ -103,8 +103,10 @@ install_go() { # Check for existing install if [[ -d "$GO_INSTALL_ROOT" ]]; then - [[ -f "$GO_INSTALL_ROOT/manifest" ]] && - display_fatal "Already installed!" + if [[ -f "$GO_INSTALL_ROOT/manifest" ]]; then + display_message "Already installed!" + exit 0 + fi display_warning "Removing corrupt install..." gvm uninstall $GO_NAME fi