svn commit: r270283 - head/usr.sbin/bsdconfig/share/packages
Bryan Drewery
bdrewery at FreeBSD.org
Thu Aug 21 17:16:56 UTC 2014
On 8/21/2014 12:15 PM, Devin Teske wrote:
> Author: dteske
> Date: Thu Aug 21 17:15:09 2014
> New Revision: 270283
> URL: http://svnweb.freebsd.org/changeset/base/270283
>
> Log:
> Add `-A' flag to pkg-install(8) invocation when installing dependencies.
Thank you!!
>
> MFC after: 3 days
> X-MFC-to: stable/10, stable/9
> Reported by: gjb
> Discussed with: jelischer, gjb, bdrewery
>
> Modified:
> head/usr.sbin/bsdconfig/share/packages/packages.subr
>
> Modified: head/usr.sbin/bsdconfig/share/packages/packages.subr
> ==============================================================================
> --- head/usr.sbin/bsdconfig/share/packages/packages.subr Thu Aug 21 16:08:17 2014 (r270282)
> +++ head/usr.sbin/bsdconfig/share/packages/packages.subr Thu Aug 21 17:15:09 2014 (r270283)
> @@ -1029,9 +1029,11 @@ f_package_extract()
>
> # Request the package be added via pkg-install(8)
> if f_debugging; then
> - f_eval_catch $funcname pkg 'pkg -d install -y "%s"' "$name"
> + f_eval_catch $funcname pkg \
> + 'pkg -d install -${depended:+A}y "%s"' "$name"
> else
> - f_eval_catch $funcname pkg 'pkg install -y "%s"' "$name"
> + f_eval_catch $funcname pkg \
> + 'pkg install -${depended:+A}y "%s"' "$name"
> fi
> if [ $? -ne $SUCCESS ]; then
> $alert "$msg_pkg_install_apparently_did_not_like_the_package" \
>
--
Regards,
Bryan Drewery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20140821/94545113/attachment.sig>
More information about the svn-src-all
mailing list