2.6->2.7 gripes?

Paul Beard paulbeard at gmail.com
Fri Mar 11 16:04:19 UTC 2011


I never could find or use the site packages updater or get portupgrade/portmaster to work so I had to devise this craptacular updater: 

for i in `ls /var/db/pkg/py26* | grep py26- | sed -e s/py26/py/g | sed -e s#/var/db/pkg/##g | sed -e s/-[0-9]\.*//g`; do cd /usr/ports/*/$i; make deinstall; make clean; make reinstall ; done 

Note the craftsman-like attention to error handling and graceful design. I hope it worked . . . . 

So where would I find the updater? 
--
Paul Beard

Are you trying to win an argument or solve a problem? 



More information about the freebsd-python mailing list