Browse Source

fix java9-beta uninstall (#2650)

master
Yurii Kolesnykov 8 years ago
committed by Vítor Galvão
parent
commit
981c91f386
  1. 2
      Casks/java9-beta.rb

2
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? }

Loading…
Cancel
Save