aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorAndrea Scarpino <me@andreascarpino.it>2013-09-10 11:20:21 +0200
committerAdrian C. (anrxc) <anrxc@sysphere.org>2013-11-02 18:12:52 +0100
commit01b2302659426090a96ce2f1f4cc07d509381d21 (patch)
tree2d26c548a58e3a71e74ff02850f036716502740a /widgets
parent2641bf80043efdd46dc717d2148ea9bc01a36b8f (diff)
downloadvicious-legacy-01b2302659426090a96ce2f1f4cc07d509381d21.tar.xz
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>
Diffstat (limited to 'widgets')
-rw-r--r--widgets/pkg.lua2
1 files changed, 1 insertions, 1 deletions
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'" },