Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Uninstall method for MSC Do Not Disturb
<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