On Fri, 13 Apr 2007 08:40:10 +0100, Neil Bothwick wrote:

> > > equery --quiet --nocolor list --duplicates gentoo-sources | awk
> > > '{print $1}' | head -n -2 | xargs --no-run-if-empty emerge
> > > --unmerge &>/dev/null    
> > 
> > Out of interest:
> > 
> > 1) Why --duplicates (i.e. am I missing something ;).  
> 
> No idea, I wrote the script a couple of years ago, if I'd wanted to
> remember how it worked I'd have commented it. :)

I remember now. If you have only one kernel installed, --duplicates
prevents it being uninstalled - quite a useful feature ;-)


-- 
Neil Bothwick

Oxymoron: Clearly Misunderstood.

Attachment: signature.asc
Description: PGP signature

Reply via email to