From b1d06ba1361088300eece63dab760f4236da7b86 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Tue, 22 Oct 2013 13:29:23 -0500 Subject: mecab-unidic: don't run command in caveats --- Library/Formula/mecab-unidic.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'Library') diff --git a/Library/Formula/mecab-unidic.rb b/Library/Formula/mecab-unidic.rb index 7993666c9..89506480c 100644 --- a/Library/Formula/mecab-unidic.rb +++ b/Library/Formula/mecab-unidic.rb @@ -13,14 +13,9 @@ class MecabUnidic < Formula system "make", "install" end - def caveats; <<-EOS.undent If you want to use UniDic, please rewrite "dicdir". - #{mecab_dicdir}/etc/mecabrc + #{Formula.factory('mecab').opt_prefix}/etc/mecabrc EOS end - - def mecab_dicdir - `mecab-config --prefix`.chomp! - end end -- cgit v1.2.3