diff options
author | Marcel Campello Ferreira | 2015-04-15 10:30:16 -0300 |
---|---|---|
committer | Marcel Campello Ferreira | 2015-04-15 10:32:28 -0300 |
commit | ce1cbd934365ef8310ec9c8191c9d012291fad71 (patch) | |
tree | 6ea42ce2f062d170ab25717188939b60b67697df /neo4j.install | |
parent | 25c0d5332579033141954227760e38b9bc491885 (diff) | |
download | aur-ce1cbd934365ef8310ec9c8191c9d012291fad71.tar.gz |
Version 2.2.0-1.
Diffstat (limited to 'neo4j.install')
-rw-r--r-- | neo4j.install | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/neo4j.install b/neo4j.install index be0733cf027a..b6ceecd0f58d 100644 --- a/neo4j.install +++ b/neo4j.install @@ -6,13 +6,10 @@ post_install() { chown -R neo4j.neo4j /etc/neo4j /usr/bin/systemd-tmpfiles --create neo4j.conf - - warn_about_java_home } post_upgrade() { assert_user_and_group_exist - warn_about_java_home } post_remove() { @@ -32,36 +29,3 @@ assert_user_and_group_exist() { useradd --system -g neo4j -d /var/lib/neo4j -s /bin/false neo4j fi } - -warn_about_java_home() { - echo "---------------" - echo "--- HOORAY!! --" - echo "---------------" - echo "If it is the first time you install Neo4j in your" - echo "Arch box, that's it, you are done. Enjoy your graphs" - echo "and please disregard all that is said from now on..." - echo "" - echo "If you are upgrading Neo4j from a previous version and" - echo "were given the following advice:" - echo "" - echo " >> ------------------------------" - echo " >> --- ACHTUNG ACHTUNG ALARM! ---" - echo " >> ------------------------------" - echo " >> Before starting the Neo4j service, create this file" - echo " >> " - echo " >> /etc/systemd/system/neo4j.service.d/java_home.conf" - echo " >> " - echo " >> with the following content:" - echo " >> " - echo " >> [Service]" - echo " >> Environment=JAVA_HOME=/your/java/home/path" - echo " >> " - echo " >> changing '/your/java/home/path' to your actual JAVA_HOME path." - echo "" - echo "then now you are free to delete that file. Actually," - echo "pursuant to the new Arch's Java Way of Life" - echo "(https://wiki.archlinux.org/index.php/Java#Former_.22One_time_setup.22_trick)" - echo "you shall delete it. Thereupon, enjoy your graphs." - echo "" - echo "This message will self-destruct in 1 s̶e̶c̶o̶n̶d̶ release..." -} |