From 82d735c50ade65ce853b0d3eac73a7b50e408b54 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Fri, 26 Aug 2011 11:55:59 +0100 Subject: Abort lilypond install if no Tex found Fixes #7223.--- Library/Formula/lilypond.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Library/Formula') diff --git a/Library/Formula/lilypond.rb b/Library/Formula/lilypond.rb index 01c3c55ff..940587851 100644 --- a/Library/Formula/lilypond.rb +++ b/Library/Formula/lilypond.rb @@ -17,6 +17,8 @@ class Lilypond < Formula skip_clean :all def install + abort caveats unless quiet_system "/usr/bin/which -s mpost" + gs = Formula.factory('ghostscript') system "./configure", "--prefix=#{prefix}", "--with-ncsb-dir=#{gs.share}/ghostscript/fonts/" -- cgit v1.2.3