Ver código fonte

Remove any existing gvm directory

Bob Mottram 9 anos atrás
pai
commit
df0c0f8799
Nenhuma conta conectada ao e-mail do autor de commit
1 arquivos alterados com 4 adições e 0 exclusões
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Ver arquivo

@@ -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