Created
April 2, 2020 18:32
-
-
Save jby/d4399ffc3ce5d840fea95ab2d7b96210 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>_metadata</key> | |
<dict> | |
<key>created_by</key> | |
<string>jonasb</string> | |
<key>creation_date</key> | |
<date>2020-04-02T13:42:34Z</date> | |
<key>munki_version</key> | |
<string>4.1.2.3939</string> | |
<key>os_version</key> | |
<string>10.14.6</string> | |
</dict> | |
<key>autoremove</key> | |
<false/> | |
<key>catalogs</key> | |
<array> | |
<string>testing</string> | |
</array> | |
<key>installcheck_script</key> | |
<string>#!/bin/sh | |
APP=/Applications/zoom.us.app | |
if [ -d "$APP" ]; | |
then | |
exit 0 | |
fi | |
exit 1 | |
</string> | |
<key>installer_type</key> | |
<string>nopkg</string> | |
<key>minimum_os_version</key> | |
<string>10.4.0</string> | |
<key>name</key> | |
<string>RemoveZoomApp</string> | |
<key>postinstall_script</key> | |
<string>#!/bin/sh | |
APP=/Applications/zoom.us.app | |
if [ -d "$APP" ]; | |
then | |
rm -rf $APP | |
fi | |
</string> | |
<key>unattended_install</key> | |
<true/> | |
<key>version</key> | |
<string>1.0</string> | |
</dict> | |
</plist> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As far as I know, this (or the installcheck_script part at least) will run every time munki runs, and if a user has installed Zoom after this has been run it will be deleted every time.