Преглед изворни кода

Remove any existing gvm directory

Bob Mottram пре 8 година
родитељ
комит
df0c0f8799
No account linked to committer's email
1 измењених фајлова са 4 додато и 0 уклоњено
  1. 4
    0
      src/freedombone

+ 4
- 0
src/freedombone Прегледај датотеку

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