Date: Fri, 20 Jun 2014 06:03:32 +1000 (EST) From: Ian Smith <smithi@nimnet.asn.au> To: Matthew Seaman <matthew@FreeBSD.org> Cc: Chris Maness <chris@chrismaness.com>, Devin Teske <devin.teske@fisglobal.com>, freebsd-questions@FreeBSD.org Subject: Re: No packages with 9.3-RELEASE? [was: Re: Port Changes FAQ] Message-ID: <20140620055345.J609@sola.nimnet.asn.au> In-Reply-To: <20140620033957.B609@sola.nimnet.asn.au> References: <mailman.75.1403006401.89010.freebsd-questions@freebsd.org> <20140619130115.M609@sola.nimnet.asn.au> <53A27C2A.3040501@FreeBSD.org> <20140620033957.B609@sola.nimnet.asn.au>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 20 Jun 2014 05:11:17 +1000, Ian Smith wrote: > if [ `du -d1 $MOUNTPOINT/packages` -gt $SOMESIZE ]; then Sorry, late and way too tired; more like: if [ `du -sm $MOUNTPOINT/packages | awk '{print $1}'` -ge $SOMEMB ]; then > # there are significant packages on this media > export REPOS_DIR="$MOUNTPOINT/packages/repos" > fi ;; g'night, Ian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140620055345.J609>