Skip to content
This repository has been archived by the owner on Jan 26, 2022. It is now read-only.

Commit

Permalink
updated vcap_setup to use neo4j-hosting-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
jexp committed May 6, 2011
1 parent a662ff0 commit 44a0a92
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions setup/vcap_setup
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ fi
NEO4J_VERSION=community-1.4.M01
NEO4J_DIST_FILE=neo4j-community-1.4.M01-unix.tar.gz
NEO4J_SERVICE_DIR=/var/vcap/services/neo4j

NEO4J_HOSTING_EXTENSION=neo4j-hosting-extension-1.4.M1.jar
if [[ -f "$NEO4J_SERVICE_DIR/$NEO4J_DIST_FILE" ]]; then
echo "Neo4j ($NEO4J_VERSION) is current"
else
Expand All @@ -353,10 +353,9 @@ if [[ $REPLY =~ ^[yY]$ ]]; then
curl -O http://dist.neo4j.org/$NEO4J_DIST_FILE
rm neo4j-server.tgz
ln -s $NEO4J_DIST_FILE neo4j-server.tgz
# curl -O http://dist.neo4j.org/neo4j-hosting-extension-$NEO4J_VERSION.jar
cp /home/cloud/neo4j-hosting-extension-0.6-SNAPSHOT.jar neo4j-hosting-extension-$NEO4J_VERSION.jar
curl -O http://dist.neo4j.org/$NEO4J_HOSTING_EXTENSION
rm neo4j-hosting-extension.jar
ln -s neo4j-hosting-extension-$NEO4J_VERSION.jar neo4j-hosting-extension.jar
ln -s $NEO4J_HOSTING_EXTENSION neo4j-hosting-extension.jar
popd
fi
fi
Expand Down

0 comments on commit 44a0a92

Please sign in to comment.