saltstack/salt — pull request #10264 by abique (2014-02-07 17:50:19+00:00)
Title: [pacman] don't reinstall if it is not needed

Use the option --needed when installing packages to avoid re-installing a package if it is already at last version.