From abe88da1c96de3a0ac66c132f806d4002583918a Mon Sep 17 00:00:00 2001 From: aj Date: Wed, 1 Nov 2017 21:51:03 +0000 Subject: [PATCH] install up-to-date launchpad version --- install-helper.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/install-helper.sh b/install-helper.sh index 3d64f46..5e3c20f 100755 --- a/install-helper.sh +++ b/install-helper.sh @@ -256,14 +256,16 @@ install_my_app() mvdir_backward_compat /srv/walnut/packages/client-api-grants /srv/walnut/etc/client-api-grants mvdir_backward_compat /srv/walnut/packages/sites /srv/walnut/var/sites + if [ ! -d "/srv/walnut/core/lib/walnut@daplie.com/setup" ]; then git clone https://git.daplie.com/Daplie/walnut_launchpad.git /srv/walnut/core/lib/walnut@daplie.com/setup fi + pushd /srv/walnut/core/lib/walnut@daplie.com/setup if [ ! -d "./.git/" ]; then echo "'/srv/walnut/core/lib/walnut@daplie.com/setup' exists but is not a git repository... not sure what to do here..." fi - git checkout master + git checkout v1.2 git pull popd