Skip to content

Instantly share code, notes, and snippets.

@jby
Created April 2, 2020 18:32

Revisions

  1. jby created this gist Apr 2, 2020.
    55 changes: 55 additions & 0 deletions RemoveZoomApp.pkginfo
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,55 @@
    <?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>