summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-03-20 15:41:23 +0000
committerLars Wirzenius <lars.wirzenius@codethink.co.uk>2014-04-10 12:43:28 +0000
commita26d9ade4a6fe9d66103cbe47de792a0f804747a (patch)
treed51f09fcd917f37fb99fcdc49cfc8be0f1f8d1cd
parentb51e297ef3c4b8dfaf99acb4bfbd4d4eaa2146c2 (diff)
downloadtrove-setup-a26d9ade4a6fe9d66103cbe47de792a0f804747a.tar.gz
Remove creation of /home/lorry/lorry-controller-area
The new Lorry Controller does that itself.
-rwxr-xr-xbins/trove-early-setup3
1 files changed, 0 insertions, 3 deletions
diff --git a/bins/trove-early-setup b/bins/trove-early-setup
index 49675e8..5ce2d7a 100755
--- a/bins/trove-early-setup
+++ b/bins/trove-early-setup
@@ -69,8 +69,6 @@ gitano-configured: /home/git/.gitano-setup
PREFIX=$$(echo "##PREFIX##" | sed -f /etc/trove-setup.sed); \
su -c "ssh localhost create $${PREFIX}/local-config/lorries" - git; \
su -c "git clone ssh://localhost/$${PREFIX}/local-config/lorries.git /tmp/lorries" - git; \
- su -c "mkdir /home/lorry/lorry-controller-area" - lorry; \
- su -c "git clone ssh://git@localhost/$${PREFIX}/local-config/lorries.git /home/lorry/lorry-controller-area/git" - lorry
su -c "sed -f /etc/trove-setup.sed < /usr/share/trove-setup/lorry-controller.conf > /tmp/lorries/lorry-controller.conf" - git
su -c "sed -f /etc/trove-setup.sed < /usr/share/trove-setup/README.lorry-controller > /tmp/lorries/README" - git
su -c "mkdir /tmp/lorries/open-source-lorries" - git
@@ -79,7 +77,6 @@ gitano-configured: /home/git/.gitano-setup
su -c "cp /usr/share/trove-setup/closed-source-lorries/README /tmp/lorries/closed-source-lorries/README" - git
su -c "cd /tmp/lorries; git add README lorry-controller.conf open-source-lorries/README closed-source-lorries/README; git commit -m 'Initial configuration'; git push origin master" - git
su -c "rm -rf /tmp/lorries" - git
- su -c "cd /home/lorry/lorry-controller-area/git; git remote update; git checkout master" - lorry
touch $@
.PHONY: lorry-configured