Date: Sat, 16 Apr 2016 18:31:07 +0200 From: JosC <bsduser@cloudzeeland.nl> To: John Levine <johnl@iecc.com>, freebsd-questions@freebsd.org Subject: Re: Ports upgrade script Message-ID: <a2924568-2550-6034-b2ac-10101a24c6a3@cloudzeeland.nl> In-Reply-To: <20160416144120.10349.qmail@ary.lan> References: <20160416144120.10349.qmail@ary.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
In een bericht van 16-4-2016 16:41: > The usual approach is to use portmaster or portupgrade to upgrade your > installed ports. > > To install a new port you do what you've always done, go to the port's > directory under /usr/ports and type make install. > I feel a complete idiot now as this proves I was still using two different systems next to each other (if it works don't break it) for some years now. Now created a cronned batch for ports only: (1) Unattended (cron'd) #!/bin/sh cd /letc portmaster --clean-distfiles --no-confirm portsnap fetch update portmaster -L pkg version -l "<" (2) Only manual/in interactive mode: #!/bin/sh cd /usr/local/etc portmaster -y --clean-distfiles portmaster -y --clean-packages portmaster -y --check-depends portmaster -a Right? Thanks all for you input - it really was an eye opener. BR, Jos Chrispijn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a2924568-2550-6034-b2ac-10101a24c6a3>