Skip to content
Snippets Groups Projects
Commit 85a55382 authored by Nikolaus Krismer's avatar Nikolaus Krismer
Browse files

update of neo4j version

fixed some problems with parameter order in wget download management
parent 49c3db84
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ JAVA_FILE_64=jdk-$JAVA_VERSION-linux-x64.rpm
MAVEN_VERSION=3.2.1
MAVEN_FILE=apache-maven-$MAVEN_VERSION-bin.zip
NEO4J_DB_USER=neo4j
NEO4J_VERSION=2.0.3
NEO4J_VERSION=2.1.1
NEO4J_FILE=neo4j-community-$NEO4J_VERSION-unix.tar.gz
NEO4J_SERVICE_NAME=neo4j-service
NEO4J_SPATIAL_VERSION=0.13-neo4j-2.0.1
......@@ -213,8 +213,8 @@ fn_download()
FILE=$1
URL=$2
if wget --no-check-certificate -O /dev/null -q "$URL"; then
wget --no-check-certificate -O "$FILE" -q "$URL"
if wget --no-check-certificate -q -O /dev/null "$URL"; then
wget --no-check-certificate -q -O "$FILE" "$URL"
fi
}
......@@ -225,8 +225,8 @@ fn_download_newer()
URL=$2
if [ ! -f "$FILE" ]; then
if wget --no-check-certificate -O /dev/null -q "$URL"; then
wget --no-check-certificate -O "$FILE" -q "$URL"
if wget --no-check-certificate -q -O /dev/null "$URL"; then
wget --no-check-certificate -q -O "$FILE" "$URL"
fi
fi
}
......@@ -580,7 +580,7 @@ if $INSTALL_NEO4J_SPATIAL; then
git clone -q https://github.com/neo4j/spatial.git $DEPLOY_DIR/neo4j-spatial-$NEO4J_SPATIAL_VERSION
ln -sf $DEPLOY_DIR/neo4j-spatial-$NEO4J_SPATIAL_VERSION $DEPLOY_DIR/neo4j-spatial
cd $DEPLOY_DIR/neo4j-spatial
git checkout -q $NEO4J_SPATIAL_VERSION > /dev/null 2>&1
git checkout -q $NEO4J_SPATIAL_VERSION > /dev/null 2>&1
if $INSTALL_GEOSERVER; then
if $IMPORT_OSMDATA || $IMPORT_OSMDATA_CACHED; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment