소스 검색

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