Created
November 6, 2015 10:54
-
-
Save artynet/73dcd0e31b91e114cf09 to your computer and use it in GitHub Desktop.
Simple script to uninstall MacPorts from your OSX system
This file contains hidden or 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/bash | |
sudo rm -rvf \ | |
/opt/local \ | |
/Applications/DarwinPorts \ | |
/Applications/MacPorts \ | |
/Library/LaunchDaemons/org.macports.* \ | |
/Library/Receipts/DarwinPorts*.pkg \ | |
/Library/Receipts/MacPorts*.pkg \ | |
/Library/StartupItems/DarwinPortsStartup \ | |
/Library/Tcl/darwinports1.0 \ | |
/Library/Tcl/macports1.0 \ | |
~/.macports |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
doesn't work on macos big sur, after running this i can still run port and see that macports is still installed