From 40b2e8e717c5900a38bf669b15009ded5147765b Mon Sep 17 00:00:00 2001 From: Alexey Voinov Date: Thu, 28 Oct 2010 23:20:31 +0400 Subject: [PATCH] Tell pacman not to install package if already installed --- el-get.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/el-get.el b/el-get.el index d1fdb556..56d97cd5 100644 --- a/el-get.el +++ b/el-get.el @@ -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)))