From 01b2302659426090a96ce2f1f4cc07d509381d21 Mon Sep 17 00:00:00 2001 From: Andrea Scarpino Date: Tue, 10 Sep 2013 11:20:21 +0200 Subject: [PATCH] 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) --- widgets/pkg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/pkg.lua b/widgets/pkg.lua index 9ec03c0..e786099 100644 --- a/widgets/pkg.lua +++ b/widgets/pkg.lua @@ -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'" },