From c6c85b142667fbede61d1661416e8db1f1cb0cc5 Mon Sep 17 00:00:00 2001 From: dnuux Date: Tue, 4 Sep 2012 16:05:55 +0300 Subject: [PATCH] Fix pacman-list-explicit function The function previously worked only when there were no updates available. Pacman also does not need superuser rights to list installed packages. --- modules/pacman/functions/pacman-list-explicit | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/pacman/functions/pacman-list-explicit b/modules/pacman/functions/pacman-list-explicit index 5e545d06..7359bfed 100644 --- a/modules/pacman/functions/pacman-list-explicit +++ b/modules/pacman/functions/pacman-list-explicit @@ -6,8 +6,7 @@ # Sorin Ionescu # -sudo pacman --query --explicit --info \ - $(pacman --query --upgrades | cut -d' ' -f 1) \ +pacman --query --explicit --info \ | awk ' BEGIN { FS=":"