summarylogtreecommitdiffstats
path: root/startup-scripts-paths.patch
blob: 6b173524b083fcba09580377e54758f1bd1e4d51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
diff --unified --recursive --text src/neo4j-enterprise-4.4.7-orig/bin/neo4j src/neo4j-enterprise-4.4.7-new/bin/neo4j
--- src/neo4j-enterprise-4.4.7-orig/bin/neo4j	2022-05-06 23:30:17.000000000 +0200
+++ src/neo4j-enterprise-4.4.7-new/bin/neo4j	2022-06-09 21:08:55.156813447 +0200
@@ -102,6 +102,10 @@
   [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
 fi
 
+BASEDIR="/usr/share/java/neo4j"
+CLASSPATH="$BASEDIR:$BASEDIR/*"
+REPO="$BASEDIR/repo"
+
 exec "$JAVACMD" -Xmx128m \
   -classpath "$CLASSPATH" \
   -Dapp.name="neo4j" \
@@ -110,4 +114,4 @@
   -Dapp.home="$BASEDIR" \
   -Dbasedir="$BASEDIR" \
   org.neo4j.server.startup.Neo4jCommand \
-  "$@"
\ No newline at end of file
+  "$@"
diff --unified --recursive --text src/neo4j-enterprise-4.4.7-orig/bin/neo4j-admin src/neo4j-enterprise-4.4.7-new/bin/neo4j-admin
--- src/neo4j-enterprise-4.4.7-orig/bin/neo4j-admin	2022-06-09 21:01:43.606862555 +0200
+++ src/neo4j-enterprise-4.4.7-new/bin/neo4j-admin	2022-06-09 21:08:08.529086874 +0200
@@ -104,6 +104,10 @@
   [ -n "$REPO" ] && REPO=`cygpath --path --windows "$REPO"`
 fi
 
+BASEDIR="/usr/share/java/neo4j"
+CLASSPATH="$BASEDIR:$BASEDIR/*"
+REPO="$BASEDIR/repo"
+
 exec "$JAVACMD" -Xmx128m \
   -classpath "$CLASSPATH" \
   -Dapp.name="neo4j-admin" \
@@ -112,4 +116,4 @@
   -Dapp.home="$BASEDIR" \
   -Dbasedir="$BASEDIR" \
   org.neo4j.server.startup.Neo4jAdminCommand \
-  "$@"
\ No newline at end of file
+  "$@"