aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2012-02-12 14:50:15 -0800
committerAdam Vandenberg2012-02-12 20:09:00 -0800
commit28b82ecd22de3deedf028fb79f9798f2ed5f637f (patch)
tree488d447da183db3bd7a920b83665a8c7edaf9fdb /Library
parent89ad7abcda3492d773c9bc7ea8d912589330a4a1 (diff)
downloadhomebrew-28b82ecd22de3deedf028fb79f9798f2ed5f637f.tar.bz2
metasploit: use install_symlink
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/metasploit.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/Library/Formula/metasploit.rb b/Library/Formula/metasploit.rb
index 2660d402f..ab810b5db 100644
--- a/Library/Formula/metasploit.rb
+++ b/Library/Formula/metasploit.rb
@@ -1,8 +1,8 @@
require 'formula'
class Metasploit < Formula
- url "http://updates.metasploit.com/data/releases/framework-4.1.0.tar.bz2"
homepage 'http://www.metasploit.com/framework/'
+ url "http://updates.metasploit.com/data/releases/framework-4.1.0.tar.bz2"
sha1 'f978b82d0b5d65e2958006aa9a6fca01573b9539'
head "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn
@@ -14,8 +14,7 @@ class Metasploit < Formula
def install
libexec.install Dir["msf*",'data','external','lib','modules','plugins','scripts','test','tools']
- bin.mkpath
- Dir["#{libexec}/msf*"].each {|f| ln_s f, bin}
+ bin.install_symlink Dir["#{libexec}/msf*"]
end
def caveats; <<-EOS.undent