Fink update to 0.8.1

A new version of fink came out a couple of days ago and I’ve finally had a chance to install it. They note that the upgrade is complicated so it might be best to uninstall it. Well I’ve never had to uninstall, but found this quick one liner that does the job nicely:
fink list | perl -lne ‘/^\s*i\s+(\S+)/ and print $1’ | xargs fink purge
then you can sudo rm -rf /sw/ and its fine.