From bab37adb083d5b12b60eec6ee2c5ffe36ef6a4b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Galv=C3=A3o?= Date: Tue, 9 Jun 2015 17:30:39 +0100 Subject: [PATCH] java6.rb: stanza order fix --- Casks/java6.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Casks/java6.rb b/Casks/java6.rb index 36bc935be..7a11d3d07 100644 --- a/Casks/java6.rb +++ b/Casks/java6.rb @@ -5,9 +5,10 @@ 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' + + depends_on :macos => '<= :yosemite' end