Date: Fri, 29 Dec 2006 02:20:46 +0000 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: portupgrade -a useful option?? Message-ID: <20061229022046.0ba97c97@gumby.homeunix.com> In-Reply-To: <20061228184851.UXJH60.dukecmmtao03.coxmail.com@dukecmmtao03> References: <20061228184851.UXJH60.dukecmmtao03.coxmail.com@dukecmmtao03>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 28 Dec 2006 10:48:50 -0800
Vizion <vizion@vizion.occoxmail.com> wrote:
> Gi
>
> I just wondered whether using portupgrade -a there might be any way
> to have an initial interactive dialogue to set all option for all
> ports to be upgraded during the run so as to facilitate an attendance
> free upgrade procedure.
>
> Maybe there is already some way to do this - if so perhaps someone
> could enlighten me.
I use this shell script:
#!/bin/sh
plist=`pkg_version -ovl'<' |awk '{ print $1 }'`
for porg in $plist ; do
cd /usr/ports/${porg} && make config-recursive
done
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061229022046.0ba97c97>
