ilr0qw
Last Updated: February 25, 2016
·
386
· phaus
902a4faaa4de6f6aebd6fd7a9fbab46a

MacPorts clean upgrade


#!/bin/bash

sudo port selfupdate
sudo port upgrade outdated
sudo port clean --all all
sudo port -f uninstall inactive
sudo rm -rf /opt/local/var/macports/build/*
sudo rm -rf /opt/local/var/macports/distfiles/*
sudo rm -rf /opt/local/var/macports/packages/*

You could also run this whole script as "sudo"

Say Thanks
Respond