mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-19 10:53:58 +00:00
Add `-A' flag to pkg-install(8) invocation when installing dependencies.
MFC after: 3 days X-MFC-to: stable/10, stable/9 Reported by: gjb Discussed with: jelischer, gjb, bdrewery
This commit is contained in:
parent
ddc5fd903d
commit
3a2e3fe269
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=270283
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user