package and upgrade are not mutually exclusive, but when both were set, upgrade didn't happen

reviewable/pr18780/r1
Serge van Ginderachter 12 years ago
parent e1ea9b7f87
commit 3a654d4497

2
apt

@ -260,7 +260,7 @@ def main():
if p['update_cache']:
cache.update()
cache.open(progress=None)
if not p['package']:
if not p['package'] and not p['upgrade']:
module.exit_json(changed=False)
force_yes = p['force']

Loading…
Cancel
Save