From cd4fb3e35fe6573376412f21108e7b1a6b95a0b0 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Sun, 12 Feb 2012 17:27:25 -0800 Subject: neo4j: use install_symlink --- Library/Formula/neo4j.rb | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3