Remove any existing gvm directory
This commit is contained in:
parent
35a44820ab
commit
df0c0f8799
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue