Skip to content

Instantly share code, notes, and snippets.

@keeleysam
Created January 14, 2013 20:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save keeleysam/f2c87d873cbeaa90d3cd to your computer and use it in GitHub Desktop.
Save keeleysam/f2c87d873cbeaa90d3cd to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
21<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>production-lion</string>
</array>
<key>description</key>
<string></string>
<key>display_name</key>
<string>Java 7 Update 11</string>
<key>installed_size</key>
<integer>146436</integer>
<key>installer_item_hash</key>
<string>089410645d13b2dd9e6e1551cc7ea0e74d4a26c4f5d50eb7f8a780ff25ac8b71</string>
<key>installer_item_location</key>
<string>Oracle/Java/jre-7u11-macosx-x64.dmg</string>
<key>installer_item_size</key>
<integer>51532</integer>
<key>installs</key>
<array>
<dict>
<key>CFBundleShortVersionString</key>
<string>1.7.11.21</string>
<key>path</key>
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin</string>
<key>type</key>
<string>bundle</string>
</dict>
<dict>
<key>md5checksum</key>
<string>4536d18a9751c82417ce4f44cc33b568</string>
<key>path</key>
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/libnpjp2.dylib</string>
<key>type</key>
<string>file</string>
</dict>
</array>
<key>minimum_os_version</key>
<string>10.6.0</string>
<key>name</key>
<string>Oracle Java</string>
<key>postinstall_script</key>
<string>#!/bin/sh
JAVADIR=/Library/Application\ Support/Oracle/Java/Deployment
if [ ! -d "$JAVADIR" ]; then
/bin/mkdir -p "$JAVADIR"
fi
/bin/echo "deployment.macosx.check.update=false" &gt; "$JAVADIR/deployment.properties"
launchctl unload /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
launchctl unload /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
rm -f /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
rm -f /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
</string>
<key>preinstall_script</key>
<string>#!/bin/sh
launchctl load -w /Library/LaunchAgents/com.oracle.java.Java-Updater.plist
launchctl load -w /Library/LaunchDaemons/com.oracle.java.Helper-Tool.plist
</string>
<key>receipts</key>
<array>
<dict>
<key>installed_size</key>
<integer>146436</integer>
<key>packageid</key>
<string>com.oracle.jre</string>
<key>version</key>
<string>1.0</string>
</dict>
</array>
<key>unattended_install</key>
<true/>
<key>uninstall_method</key>
<string>removepackages</string>
<key>uninstallable</key>
<true/>
<key>version</key>
<string>1.7.11.21</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment