Merge pull request #480 from RubenKelevra/patch-2

pacman: change -Syy to -Sy for "update-cache"

just noting we may want to add an option to force updating the cache in the future
This commit is contained in:
Brian Coca 2015-05-26 10:04:52 -04:00
commit 2f9d30ae5b

View file

@ -78,7 +78,7 @@ EXAMPLES = '''
# Recursively remove package baz
- pacman: name=baz state=absent recurse=yes
# Run the equivalent of "pacman -Syy" as a separate step
# Run the equivalent of "pacman -Sy" as a separate step
- pacman: update_cache=yes
'''
@ -124,7 +124,7 @@ def query_package(module, name, state="present"):
def update_package_db(module):
cmd = "pacman -Syy"
cmd = "pacman -Sy"
rc, stdout, stderr = module.run_command(cmd, check_rc=False)
if rc == 0: