Last active
August 29, 2015 14:24
-
-
Save grahampugh/4f6faadc744f15604cd0 to your computer and use it in GitHub Desktop.
Uninstall method for MSC Do Not Disturb
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
<key>uninstall_method</key> | |
<string>uninstall_script</string> | |
<key>uninstall_script</key> | |
<string>#!/bin/sh | |
/bin/rm -rf "/Applications/Managed Software Center Do Not Disturb.app" \ | |
/usr/local/munki/preflight.d/msc-do-not-disturb.py | |
/usr/bin/defaults write /Library/Preferences/ManagedInstalls.plist SuppressUserNotification -bool FALSE | |
/usr/sbin/pkgutil --forget uk.ac.bris.MSC-Do-Not-Disturb</string> | |
<key>uninstallable</key> | |
<true/> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment