From 981c91f3868b24d7e4173527f16b4d018a26126e Mon Sep 17 00:00:00 2001 From: Yurii Kolesnykov Date: Fri, 23 Sep 2016 13:44:40 +0300 Subject: [PATCH] fix java9-beta uninstall (#2650) --- Casks/java9-beta.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Casks/java9-beta.rb b/Casks/java9-beta.rb index 3cc24c5b8..8c5957740 100644 --- a/Casks/java9-beta.rb +++ b/Casks/java9-beta.rb @@ -31,7 +31,7 @@ cask 'java9-beta' do end end - uninstall pkgutil: 'com.oracle.jdk9', + uninstall pkgutil: 'com.oracle.jdk-9', delete: [ MacOS.version <= :mavericks ? '/System/Library/Frameworks/JavaVM.framework/Versions/CurrentJDK' : '', ].keep_if { |v| !v.empty? }