On Friday 11 July 2003 13:41, [EMAIL PROTECTED] wrote:
> Quoting Jason Stubbs <[EMAIL PROTECTED]>:
> > On Friday 11 July 2003 12:12, Klaus D. Neumann wrote:
> > > Hi,
> > >
> > > Is there a way to emerge an entire directory with a single command,
> > > e.g., something like:
> > > emerge gnome-base/* ?
>
> ehm... last time i checked, just going to the directory, and typing "emerge
> *" worked just fine.
hehe. Exactly what I did below, just without telling bash how to do shell 
expansion! ;-)

>
> > That's fairly easy. How about the following?
> > for i in `ls /usr/portage/gnome-base`; do emerge $i; done
> >
> > Of course, that will re-emerge anything that's already installed. To only
> > emerge new stuff, you can do this:
> >
> > for i in `ls /usr/portage/gnome-base`; do [ -a /var/db/pkg/$i ] || emerge
> > $i; done
>
> that's what emerge -n is for (do not remerge packages, only install or
> update)

I always did do things the hard way. ;-)

--
Regards,
Jason


--
[EMAIL PROTECTED] mailing list

Reply via email to