Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 20:42:04 +0100
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Ulrich Spoerlein <q@uni.de>
Cc:        Martin Klaffenboeck <martin.klaffenboeck@gmx.at>, ports@freebsd.org
Subject:   Re: portupgrade and xargs?
Message-ID:  <20030220194204.GK91638@martin.kdrache.org>
In-Reply-To: <20030220171615.GG362@galgenberg.net>; from q@uni.de on Do, Feb 20, 2003 at 18:16:15 %2B0100
References:  <20030220140727.GC91638@martin.kdrache.org> <20030220171615.GG362@galgenberg.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Am 2003.02.20 18:16 schrieb(en) Ulrich Spoerlein:
> On Thu, 20.02.2003 at 15:07:27 +0100, Martin Klaffenboeck wrote:
> > #!/bin/sh
> > cd /usr/ports
> > make update ;
> 
> portsdb -uU
> 
> > pkg_version -l "<" | awk '{ print($1); }' > /root/work/update
> 
> I use portversion -L= , which is much faster (it seems)

I'll test this.  The thing is, I have to use portsdb -uU bevore using 
portversion.  So portsdb -uU and portversion together must be faster 
than pkg_version alone.  Do you think they are?

> > vi /root/work/update
> > cat /root/work/update | xargs portupgrade
> 
> portupgrade `cat /root/work/update` should do as well?

Ok, I'll try this one...

Martin

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030220194204.GK91638>