Browse Source

Remove any existing gvm directory

Bob Mottram 8 years ago
parent
commit
df0c0f8799
No account linked to committer's email
1 changed files with 4 additions and 0 deletions
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone View File

@@ -6365,6 +6365,10 @@ function upgrade_golang {
6365 6365
 	fi
6366 6366
 	chmod +x binscripts/gvm-installer
6367 6367
 
6368
+	if [ -d /root/.gvm ]; then
6369
+		rm -rf /root/.gvm
6370
+	fi
6371
+
6368 6372
 	# TODO: this script is all over the place
6369 6373
 	# and contains hardcoded github. See if you can do better
6370 6374
 	./binscripts/gvm-installer