pkg: update 'Arch S' substitution lines

It would appear pacman v4 now prints only one line before the package
list.
This commit is contained in:
Adrian C. (anrxc) 2012-05-09 03:13:13 +02:00
parent 2d8d7d752b
commit 13cec6d35a
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ local function worker(format, warg)
local updates = 0 local updates = 0
local manager = { local manager = {
["Arch"] = { cmd = "pacman -Qu" }, ["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" }, ["Debian"] = { cmd = "apt-show-versions -u -b" },
["Ubuntu"] = { cmd = "aptitude search '~U'" }, ["Ubuntu"] = { cmd = "aptitude search '~U'" },
["Fedora"] = { cmd = "yum list updates", sub = 3 }, ["Fedora"] = { cmd = "yum list updates", sub = 3 },