mirror of
https://github.com/dimitri/el-get.git
synced 2024-09-29 13:08:51 +08:00
Tell pacman not to install package if already installed
This commit is contained in:
parent
239460be2f
commit
40b2e8e717
|
@ -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)))
|
||||
|
|
Loading…
Reference in New Issue
Block a user