Add comment discussing the dangers of pacman -Sy

This commit is contained in:
Joseph Hall 2014-02-18 06:12:03 -07:00
parent aacb35c31c
commit 30dbdaf8ad

View File

@ -328,6 +328,8 @@ def install(name=None,
log.error(problem)
return {}
# It is critical that -Syu is run instead of -Sy:
# http://gist.io/5660494
if salt.utils.is_true(refresh):
cmd = 'pacman -Syu --noprogressbar --noconfirm --needed ' \
'"{0}"'.format('" "'.join(targets))