From 13cec6d35ae2a73c8f8e40385a7d64e3475f97a5 Mon Sep 17 00:00:00 2001 From: "Adrian C. (anrxc)" Date: Wed, 9 May 2012 03:13:13 +0200 Subject: [PATCH] pkg: update 'Arch S' substitution lines It would appear pacman v4 now prints only one line before the package list. --- widgets/pkg.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/widgets/pkg.lua b/widgets/pkg.lua index da4cf98..62d0ccb 100644 --- a/widgets/pkg.lua +++ b/widgets/pkg.lua @@ -22,7 +22,7 @@ local function worker(format, warg) local updates = 0 local manager = { ["Arch"] = { cmd = "pacman -Qu" }, - ["Arch S"] = { cmd = "yes | pacman -Sup", sub = 2 }, + ["Arch S"] = { cmd = "yes | pacman -Sup", sub = 1 }, ["Debian"] = { cmd = "apt-show-versions -u -b" }, ["Ubuntu"] = { cmd = "aptitude search '~U'" }, ["Fedora"] = { cmd = "yum list updates", sub = 3 },