pkg: use checkupdates on Arch Linux.

It prints a list of pending updates without touching the system sync databases.

Signed-off-by: Adrian C. (anrxc) <anrxc@sysphere.org>
This commit is contained in:
Andrea Scarpino 2013-09-10 11:20:21 +02:00 committed by Adrian C. (anrxc)
parent 2641bf8004
commit 01b2302659
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ local function worker(format, warg)
-- Initialize counters
local updates = 0
local manager = {
["Arch"] = { cmd = "pacman -Qu" },
["Arch"] = { cmd = "checkupdates" },
["Arch S"] = { cmd = "yes | pacman -Sup", sub = 1 },
["Debian"] = { cmd = "apt-show-versions -u -b" },
["Ubuntu"] = { cmd = "aptitude search '~U'" },