From df0c0f8799532c674d2ba1899d1b5026dcacb01c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 9 May 2016 16:24:35 +0100 Subject: [PATCH] Remove any existing gvm directory --- src/freedombone | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/freedombone b/src/freedombone index e4a83d83..b2a51655 100755 --- a/src/freedombone +++ b/src/freedombone @@ -6365,6 +6365,10 @@ function upgrade_golang { fi chmod +x binscripts/gvm-installer + if [ -d /root/.gvm ]; then + rm -rf /root/.gvm + fi + # TODO: this script is all over the place # and contains hardcoded github. See if you can do better ./binscripts/gvm-installer