install up-to-date launchpad version
This commit is contained in:
parent
2bb33b1f20
commit
abe88da1c9
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue