aboutsummaryrefslogtreecommitdiff
path: root/widgets
diff options
context:
space:
mode:
authorAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-19 00:51:57 +0100
committerAdrian C. (anrxc) <anrxc@sysphere.org>2010-03-19 00:51:57 +0100
commit9af29ce1e642070b6ed9fdf02155d37838323790 (patch)
tree1235a04edc0afcd82b5ba44a3d3c84bed708a1c5 /widgets
parent94a60fbc3b1c1f8243703bda178203e63a2c7769 (diff)
downloadvicious-legacy-9af29ce1e642070b6ed9fdf02155d37838323790.tar.xz
pkg: aptitude alternative to apt-show-versions
Key for aptitude is Ubuntu, as Debian users are more likely to have apt-show-versions.
Diffstat (limited to 'widgets')
-rw-r--r--widgets/pkg.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/pkg.lua b/widgets/pkg.lua
index d514e33..0e4ba90 100644
--- a/widgets/pkg.lua
+++ b/widgets/pkg.lua
@@ -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 }
}