package and upgrade are not mutually exclusive, but when both were set, upgrade didn't happen
This commit is contained in:
parent
d3dee7a8a2
commit
684cfecda9
1 changed files with 1 additions and 1 deletions
|
@ -260,7 +260,7 @@ def main():
|
||||||
if p['update_cache']:
|
if p['update_cache']:
|
||||||
cache.update()
|
cache.update()
|
||||||
cache.open(progress=None)
|
cache.open(progress=None)
|
||||||
if not p['package']:
|
if not p['package'] and not p['upgrade']:
|
||||||
module.exit_json(changed=False)
|
module.exit_json(changed=False)
|
||||||
|
|
||||||
force_yes = p['force']
|
force_yes = p['force']
|
||||||
|
|
Loading…
Reference in a new issue