From b2d3c637943a5b58f554344c40b51c3ec9b63638 Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Tue, 9 Jun 2015 18:58:38 +0300 Subject: [PATCH] don't try to install on 10.11 --- Casks/java6.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Casks/java6.rb b/Casks/java6.rb index 66ff90ab5..36bc935be 100644 --- a/Casks/java6.rb +++ b/Casks/java6.rb @@ -5,6 +5,8 @@ cask :v1 => 'java6' do url 'http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg' homepage 'http://support.apple.com/kb/DL1572' license :unknown + depends_on :macos => '<= :yosemite' + pkg 'JavaForOSX.pkg' uninstall :pkgutil => 'com.apple.pkg.JavaForMacOSX107'