mirror of
https://github.com/mistydemeo/tigerbrew.git
synced 2026-11-28 11:59:43 -05:00
Metasploit: allow in-place updates
This commit is contained in:
1 parent
0fa4e325cd
commit
48e063d70c
1 file changed
+12
@@ -7,9 +7,21 @@ class Metasploit < Formula
|
||||
|
||||
head "https://www.metasploit.com/svn/framework3/trunk/", :using => :svn
|
||||
|
||||
# Metasploit's tarball comes with a full .svn checkout.
|
||||
# Don't clean these folders, so users can "svn up" to update
|
||||
# metasploit in-place, which apparently is standard for this project.
|
||||
skip_clean :all
|
||||
|
||||
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}
|
||||
end
|
||||
|
||||
def caveats; <<-EOS.undent
|
||||
Metasploit can be updated in-place by doing:
|
||||
cd `brew --prefix metasploit`/libexec/
|
||||
svn up
|
||||
EOS
|
||||
end
|
||||
end
|
||||
Reference in new issue
Block a user