pkg: aptitude alternative to apt-show-versions

Key for aptitude is Ubuntu, as Debian users are more likely to have
apt-show-versions.
This commit is contained in:
Adrian C. (anrxc) 2010-03-19 00:51:57 +01:00
parent 94a60fbc3b
commit 9af29ce1e6
1 changed files with 1 additions and 0 deletions

View File

@ -24,6 +24,7 @@ local function worker(format, warg)
["Arch"] = { cmd = "pacman -Qu" },
["Arch S"] = { cmd = "yes | pacman -Sup", sub = 2 },
["Debian"] = { cmd = "apt-show-versions -u -b" },
["Ubuntu"] = { cmd = "aptitude search '~U'" },
["Fedora"] = { cmd = "yum list updates", sub = 3 }
}