mirror of
https://github.com/munki/munki.git
synced 2026-01-06 14:40:09 -06:00
git-svn-id: http://munki.googlecode.com/svn/trunk@1203 a4e17f2e-e282-11dd-95e1-755cbddbdd66
21 lines
640 B
Bash
Executable File
21 lines
640 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Merciless uninstall of munki.
|
|
|
|
|
|
if [ `id -u` -ne 0 ]; then
|
|
echo "Munki uninstallation must be run by root"
|
|
exit 1
|
|
fi
|
|
|
|
launchctl unload /Library/LaunchDaemons/com.googlecode.munki.*
|
|
rm -rf "/Applications/Utilities/Managed Software Update.app"
|
|
rm -f /Library/LaunchDaemons/com.googlecode.munki.*
|
|
rm -f /Library/LaunchAgents/com.googlecode.munki.*
|
|
rm -rf "/Library/Managed Installs"
|
|
rm -rf /usr/local/munki
|
|
pkgutil --forget com.googlecode.munki.core
|
|
pkgutil --forget com.googlecode.munki.admin
|
|
pkgutil --forget com.googlecode.munki.app
|
|
pkgutil --forget com.googlecode.munki.launchd
|
|
pkgutil --forget com.googlecode.munki |