honour 'only_upgrade' flag for 'build_dep' case in 'apt' module
This commit is contained in:
parent
bc9fb43ac0
commit
b118c5ef11
1 changed files with 1 additions and 1 deletions
|
@ -407,7 +407,7 @@ def install(m, pkgspec, cache, upgrade=False, default_release=None,
|
||||||
only_upgrade = ''
|
only_upgrade = ''
|
||||||
|
|
||||||
if build_dep:
|
if build_dep:
|
||||||
cmd = "%s -y %s %s %s build-dep %s" % (APT_GET_CMD, dpkg_options, force_yes, check_arg, packages)
|
cmd = "%s -y %s %s %s %s build-dep %s" % (APT_GET_CMD, dpkg_options, only_upgrade, force_yes, check_arg, packages)
|
||||||
else:
|
else:
|
||||||
cmd = "%s -y %s %s %s %s %s install %s" % (APT_GET_CMD, dpkg_options, only_upgrade, force_yes, autoremove, check_arg, packages)
|
cmd = "%s -y %s %s %s %s %s install %s" % (APT_GET_CMD, dpkg_options, only_upgrade, force_yes, autoremove, check_arg, packages)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue