Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Aug 2014 12:16:49 -0500
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        Devin Teske <dteske@FreeBSD.org>, src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   Re: svn commit: r270283 - head/usr.sbin/bsdconfig/share/packages
Message-ID:  <53F62981.20006@FreeBSD.org>
In-Reply-To: <201408211715.s7LHF9Hj078197@svn.freebsd.org>
References:  <201408211715.s7LHF9Hj078197@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--8TjDfnFUmHDkPp2eO8juleJMeLDglSAwE
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

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
>=20
> Log:
>   Add `-A' flag to pkg-install(8) invocation when installing dependenci=
es.

Thank you!!

>  =20
>   MFC after:	3 days
>   X-MFC-to:	stable/10, stable/9
>   Reported by:	gjb
>   Discussed with:	jelischer, gjb, bdrewery
>=20
> Modified:
>   head/usr.sbin/bsdconfig/share/packages/packages.subr
>=20
> Modified: head/usr.sbin/bsdconfig/share/packages/packages.subr
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- 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()
> =20
>  	# 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" \
>=20


--=20
Regards,
Bryan Drewery


--8TjDfnFUmHDkPp2eO8juleJMeLDglSAwE
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJT9imBAAoJEDXXcbtuRpfPBywIAJxTVyUggWUqS7BuPjC3JmOP
w5kA62usKVZzijDIAOP+6c9f9pS/BaW3WywXvm5m0eQdjBmKZe/eBFVaAB4IgraO
3SvmazwdbJrbRs/s/tPphFokniAvFz9k5h4+TpPu5JAdm1BPH27yfR2eS8K8TmMo
GdCo6AEuYhw5I5JyLZ3s/zTR/OJdWDxZluH/s0FO7Q/r0vuVwhXgcMXYeYIBk51d
lQEhMDoQPN+f/vS0IuL6UnxYBn1+TJVlNlfdxh5OaXZMlQBRw5Wsf6nZxeon+US8
d9z6MJuCsU8XISa2j/rDOyUFUd6Did/O/MD5GJ/7mJIsO5lam85nz7IYrk5JZMc=
=whvw
-----END PGP SIGNATURE-----

--8TjDfnFUmHDkPp2eO8juleJMeLDglSAwE--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53F62981.20006>