Remove any existing gvm directory

This commit is contained in:
Bob Mottram 2016-05-09 16:24:35 +01:00
parent 35a44820ab
commit df0c0f8799
No known key found for this signature in database
GPG Key ID: BA68F26108DC9F87
1 changed files with 4 additions and 0 deletions

View File

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