Advertisement
nighthoodie

macports_uninstall.sh

May 2nd, 2014
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.25 KB | None | 0 0
  1. #! /bin/bash
  2.  
  3. # completely remove macports
  4.  
  5. sudo="/usr/bin/sudo"
  6. port="/opt/local/bin/port"
  7. rm="/bin/rm"
  8.  
  9.  
  10. sudo port -dfp uninstall --follow-dependencies installed
  11.  
  12. sudo port -dfp uninstall all
  13.  
  14. sudo rm -rf \
  15.     /opt/local \
  16.     /Library/Tcl/macports*
  17.  
  18. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement