Tell pacman not to install package if already installed

This commit is contained in:
Alexey Voinov 2010-10-28 23:20:31 +04:00
parent 239460be2f
commit 40b2e8e717

View File

@ -1106,7 +1106,7 @@ the files up."
:buffer-name ,name
:process-filter ,(function el-get-sudo-password-process-filter)
:program ,(executable-find "sudo")
:args ("-S" ,(executable-find "pacman") "--sync" "--noconfirm" ,pkgname)
:args ("-S" ,(executable-find "pacman") "--sync" "--noconfirm" "--needed" ,pkgname)
:message ,ok
:error ,ko))
post-install-fun)))