Created
December 26, 2011 16:21
-
-
Save AgiosAndreas/1521520 to your computer and use it in GitHub Desktop.
This script removes Mono from an OS X System. It must be run as root
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
#!/bin/sh -x | |
#This script removes Mono from an OS X System. It must be run as root | |
rm -r /Library/Frameworks/Mono.framework | |
rm -r /Library/Receipts/MonoFramework-* | |
for dir in /usr/bin /usr/share/man/man1 /usr/share/man/man3 /usr/share/man/man5; do | |
(cd ${dir}; | |
for i in `ls -al | grep /Library/Frameworks/Mono.framework/ | awk '{print $9}'`; do | |
rm ${i} | |
done); | |
done |
Thank you
In addition to above, I found:
/Users/home/.config/.mono
/private/etc/paths.d/mono-commands
Thanks!
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks!