From 992dddd4ea29836b4aa29827308db5b25a7982f5 Mon Sep 17 00:00:00 2001 From: Roland Walker Date: Fri, 17 Jan 2014 07:33:59 -0500 Subject: [PATCH] preserve java7u45 from main repo lightly edited for Cask name and uninstall rules --- Casks/java7u45.rb | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Casks/java7u45.rb diff --git a/Casks/java7u45.rb b/Casks/java7u45.rb new file mode 100644 index 000000000..50d492f56 --- /dev/null +++ b/Casks/java7u45.rb @@ -0,0 +1,12 @@ +class Java7u45 < Cask + url 'http://download.oracle.com/otn-pub/java/jdk/7u45-b18/jdk-7u45-macosx-x64.dmg', + :cookies => { 's_nr' => '1388004420389', + 's_cc' => 'true', + 'gpw_e24' => 'http%3A%2F%2Fwww.oracle.com%2Ftechnetwork%2Fjava%2Fjavase%2Fdownloads%2Fjdk7-downloads-1880260.html', + 's_sq' => '%5B%5BB%5D%5D' } + homepage 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html' + version '1.7.0_45' + sha1 'aa1bbf29decda9a6877f0279510cd50eabba68c1' + install 'JDK 7 Update 45.pkg' + uninstall :pkgutil => 'com.oracle.jdk7u45' +end