pkg: solve interactive pacman prompt patch from tdy
This commit is contained in:
parent
5e1d1e0d47
commit
f4cd746188
2
pkg.lua
2
pkg.lua
|
@ -20,7 +20,7 @@ local function worker(format, dist)
|
|||
local updates = 0
|
||||
local manager = {
|
||||
["Arch"] = { cmd = "pacman -Qu" },
|
||||
["Arch S"] = { cmd = "pacman -Sup", sub = 2 },
|
||||
["Arch S"] = { cmd = "yes | pacman -Sup", sub = 2 },
|
||||
["Debian"] = { cmd = "apt-show-versions -u -b" },
|
||||
["Fedora"] = { cmd = "yum list updates", sub = 3 }
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue