neo4j: use install_symlink
This commit is contained in:
parent
73385c8c5d
commit
1b13f8a9f7
1 changed files with 2 additions and 4 deletions
|
@ -1,9 +1,9 @@
|
|||
require 'formula'
|
||||
|
||||
class Neo4j < Formula
|
||||
homepage 'http://neo4j.org'
|
||||
url 'http://dist.neo4j.org/neo4j-community-1.6-unix.tar.gz'
|
||||
version 'community-1.6'
|
||||
homepage 'http://neo4j.org'
|
||||
md5 'd9b12bbd269853c2a85ed12595e50409'
|
||||
|
||||
def install
|
||||
|
@ -17,9 +17,7 @@ class Neo4j < Formula
|
|||
libexec.install Dir['*']
|
||||
|
||||
# Symlink binaries
|
||||
bin.mkpath
|
||||
ln_s "#{libexec}/bin/neo4j", bin+"neo4j"
|
||||
ln_s "#{libexec}/bin/neo4j-shell", bin+"neo4j-shell"
|
||||
bin.install_symlink Dir["#{libexec}/bin/neo4j{,-shell}"]
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
|
|
Loading…
Reference in a new issue