Skip to content

Commit

Permalink
Fill in the deprecation warning
Browse files Browse the repository at this point in the history
  • Loading branch information
todb committed Nov 5, 2012
1 parent 0d7de4b commit 628f676
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions msfupdate
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,10 @@ def is_svn
end

# TODO
def print_depreciation_warning

def print_deprecation_warning
$stdout.puts "[*] Deprecation : The next version of Metasploit will update over the git"
$stdout.puts "[*] protocol, which requires outbound access to github.com:9418/TCP."
$stdout.puts "[*] Please adjust your egress firewall rules accordingly."
end

# Some of these args are meaningful for SVN, some for Git,
Expand Down Expand Up @@ -77,7 +79,7 @@ end

####### Since we're SVN, do it all this way #######
if is_svn
print_depreciation_warning
print_deprecation_warning
@args.push("--config-dir=#{@configdir}")
@args.push("--non-interactive")

Expand Down

0 comments on commit 628f676

Please sign in to comment.