Skip to content

Commit b2587c4

Browse files
committed
mercurial: remove dynamic caveats
See Homebrew/brew#20135
1 parent b8ecdea commit b2587c4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Formula/m/mercurial.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ def install
4747
bash_completion.install share/"bash-completion/completions/hg"
4848
end
4949

50-
def caveats
50+
def post_install
5151
return unless (opt_bin/"hg").exist?
5252
return unless deps.all? { |d| d.build? || d.test? || d.to_formula.any_version_installed? }
5353

5454
cacerts_configured = `#{opt_bin}/hg config web.cacerts`.strip
5555
return if cacerts_configured.empty?
5656

57-
<<~EOS
57+
opoo <<~EOS
5858
Homebrew has detected that Mercurial is configured to use a certificate
5959
bundle file as its trust store for TLS connections instead of using the
6060
default OpenSSL store. If you have trouble connecting to remote

0 commit comments

Comments
 (0)