Skip to content

Instantly share code, notes, and snippets.

@bochoven
Created July 13, 2012 11:17
Show Gist options
  • Save bochoven/3104349 to your computer and use it in GitHub Desktop.
Save bochoven/3104349 to your computer and use it in GitHub Desktop.
Munki pkgsinfo file disabling dropbox helper haxie
<?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>production</string>
</array>
<key>description</key>
<string>This package disables the dropbox helper installer haxie</string>
<key>installer_type</key>
<string>nopkg</string>
<key>installs</key>
<array>
<dict>
<key>path</key>
<string>/Applications/Dropbox.app/Contents/Resources/dropbox_disable_helper</string>
<key>type</key>
<string>file</string>
</dict>
</array>
<key>preinstall_script</key>
<string>#!/bin/sh
rm -rf /Library/DropboxHelperTools
rm /Applications/Dropbox.app/Contents/Resources/DropboxHelperInstaller.tgz
touch /Applications/Dropbox.app/Contents/Resources/dropbox_disable_helper
exit 0
</string>
<key>minimum_os_version</key>
<string>10.4.0</string>
<key>name</key>
<string>dropbox_disable_helper</string>
<key>uninstallable</key>
<false/>
<key>version</key>
<string>1.0.0</string>
<key>update_for</key>
<array>
<string>Dropbox</string>
</array>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment