Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Feb 2003 15:07:27 +0100
From:      Martin Klaffenboeck <martin.klaffenboeck@gmx.at>
To:        Akinori MUSHA <knu@iDaemons.org>, ports@freebsd.org
Subject:   portupgrade and xargs?  
Message-ID:  <20030220140727.GC91638@martin.kdrache.org>

next in thread | raw e-mail | index | archive | help
Hello,

to update my ports I use the following script:

-------
#!/bin/sh
cd /usr/ports
make update ;
pkg_version -l "<" | awk '{ print($1); }' > /root/work/update
vi /root/work/update
cat /root/work/update | xargs portupgrade
portsclean -D
-------

The output of portupgrade is really funny...  I don't want to reproduce 
it, but it seems like it just deinstalls the ports...

Maybe somone can find this out?  Is there an other way to create a 
wrapper script for make update and portupgrade where I can change the 
ports to upgrade before upgradeing ?

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?20030220140727.GC91638>