Explorar el Código

Remove any existing gvm directory

Bob Mottram hace 9 años
padre
commit
df0c0f8799
Ninguna cuenta está vinculada al correo electrónico del colaborador
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Ver fichero

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