From ae1fde9e4fae6959e5ad79c98799bb68d3200504 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 5e545d0..7359bfe 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=":"