Skip to content

Commit

Permalink
nexus: remove caveats, shorten plist_options.
Browse files Browse the repository at this point in the history
  • Loading branch information
MikeMcQuaid committed Sep 7, 2013
1 parent 8ee9000 commit e01acb9
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions Formula/nexus.rb
Expand Up @@ -16,7 +16,7 @@ def install
bin.install_symlink libexec/'bin/nexus'
end

plist_options :manual => "#{HOMEBREW_PREFIX}/opt/nexus/libexec/bin/nexus { console | start | stop | restart | status | dump }"
plist_options :manual => "#{HOMEBREW_PREFIX}/opt/nexus/libexec/bin/nexus start"

def plist; <<-EOS.undent
<?xml version="1.0" encoding="UTF-8"?>
Expand All @@ -36,13 +36,4 @@ def plist; <<-EOS.undent
</plist>
EOS
end

def caveats; <<-EOS.undent
If you are upgrading nexus for the first time, and old version is less than 2.3.1, then
you will need to copy the sonatype-work directory from:
#{HOMEBREW_PREFIX}/Cellar/#{name}/<old version>/
to
#{var}
EOS
end
end

0 comments on commit e01acb9

Please sign in to comment.