Skip to content

Instantly share code, notes, and snippets.

@nmcspadden
Last active December 16, 2015 07:29
Show Gist options
  • Save nmcspadden/5399129 to your computer and use it in GitHub Desktop.
Save nmcspadden/5399129 to your computer and use it in GitHub Desktop.
Java 7 Update 21 pkginfo
<?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>
<key>autoremove</key>
<false/>
<key>catalogs</key>
<array>
<string>testing</string>
</array>
<key>description</key>
<string></string>
<key>display_name</key>
<string>Java 7 Update 21</string>
<key>installed_size</key>
<integer>146800</integer>
<key>installer_item_hash</key>
<string>57542be9b967cf1deedde4f38ef40b93f0d679d5dde6f7b2e4ec49e5be649a5c</string>
<key>installer_item_location</key>
<string>updates/jre-7u21-macosx-x64.dmg</string>
<key>installer_item_size</key>
<integer>51659</integer>
<key>installs</key>
<array>
<dict>
<key>CFBundleShortVersionString</key>
<string>Java 7 Update 21</string>
<key>CFBundleVersion</key>
<string>1.7.21.12</string>
<key>path</key>
<string>/Library/Internet Plug-Ins/JavaAppletPlugin.plugin</string>
<key>type</key>
<string>bundle</string>
<key>version_comparison_key</key>
<string>CFBundleVersion</string>
</dict>
<dict>
<key>md5checksum</key>
<string>ec2979c7b1524c8aef7616701f06cded</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.7.3</string>
<key>name</key>
<string>JavaOracle</string>
<key>postinstall_script</key>
<string>#!/bin/sh
JAVADIR=/Library/Application\ Support/Oracle/Java/Deployment
if [ ! -d &quot;$JAVADIR&quot; ]; then
/bin/mkdir -p &quot;$JAVADIR&quot;
fi
/bin/echo &quot;deployment.macosx.check.update=false&quot; &gt; &quot;$JAVADIR/deployment.properties&quot;
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>receipts</key>
<array>
<dict>
<key>installed_size</key>
<integer>146800</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.17.21.12</string>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment