Browse Source

Remove any existing gvm

Bob Mottram 9 years ago
parent
commit
d70d6d97b4
No account linked to committer's email
1 changed files with 3 additions and 0 deletions
  1. 3
    0
      src/freedombone

+ 3
- 0
src/freedombone View File

6370
 	if [ -d /root/.gvm ]; then
6370
 	if [ -d /root/.gvm ]; then
6371
 		rm -rf /root/.gvm
6371
 		rm -rf /root/.gvm
6372
 	fi
6372
 	fi
6373
+	if [ -d $GVM_ROOT ]; then
6374
+		rm -rf $GVM_ROOT
6375
+	fi
6373
 	sed -i "s|export GVM_ROOT=.*|export GVM_ROOT=$GVM_ROOT|g" ~/.bashrc
6376
 	sed -i "s|export GVM_ROOT=.*|export GVM_ROOT=$GVM_ROOT|g" ~/.bashrc
6374
 
6377
 
6375
 	if [ ! -d /home/git ]; then
6378
 	if [ ! -d /home/git ]; then