From 620ed68c1e30126160e34d35986d52e592fc2fc2 Mon Sep 17 00:00:00 2001 From: Dylan Whichard Date: Thu, 12 May 2016 20:55:29 -0400 Subject: [PATCH 1/2] Don't try to re-clone ubersystem-deploy if it exists --- install-unix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-unix.sh b/install-unix.sh index db83d61..899604d 100755 --- a/install-unix.sh +++ b/install-unix.sh @@ -42,7 +42,7 @@ fi echo installling event_name=$1 vm_cmd="cd ~/uber/ && ./run-simple-deploy.sh $1 && rm -f ./run-simple-deploy.sh" -git clone https://github.com/magfest/ubersystem-deploy +test -d ubersystem-deploy || git clone https://github.com/magfest/ubersystem-deploy cd ubersystem-deploy vagrant up cp ../installfiles/run-simple-deploy.sh . From 328467660f47110101544c05198091c7d76adb04 Mon Sep 17 00:00:00 2001 From: Dylan Whichard Date: Thu, 12 May 2016 22:00:43 -0400 Subject: [PATCH 2/2] Fix quotes in vagrant-ssh --- install-unix.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-unix.sh b/install-unix.sh index 899604d..151c02d 100755 --- a/install-unix.sh +++ b/install-unix.sh @@ -46,7 +46,7 @@ test -d ubersystem-deploy || git clone https://github.com/magfest/ubersystem-dep cd ubersystem-deploy vagrant up cp ../installfiles/run-simple-deploy.sh . -vagrant ssh -c \'$vm_cmd\' +vagrant ssh -c "$vm_cmd" # not sure how / if we should do this on *nix # start http://localhost:8000/uber/accounts/insert_test_admin