aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/neo4j.rb
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 17:27:25 -0800
committerAdam Vandenberg2012-02-12 20:09:01 -0800
commitcd4fb3e35fe6573376412f21108e7b1a6b95a0b0 (patch)
treefd4362933240f5d4bdab5f77dfafcc85dbc73810 /Library/Formula/neo4j.rb
parenteb06348fa4c50d4969d6f4aea03d62f2a4248aad (diff)
downloadhomebrew-cd4fb3e35fe6573376412f21108e7b1a6b95a0b0.tar.bz2
neo4j: use install_symlink
Diffstat (limited to 'Library/Formula/neo4j.rb')
-rw-r--r--Library/Formula/neo4j.rb6
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/neo4j.rb b/Library/Formula/neo4j.rb
index 52132109e..39864b270 100644
--- a/Library/Formula/neo4j.rb
+++ b/Library/Formula/neo4j.rb
@@ -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