From 4e17785fc101be1bef918fe5c739a2aa8e68075c Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Wed, 11 Nov 2015 14:54:21 +0100 Subject: [PATCH] pakfire: remove wrong version of installed addons in the installed addon list pakfire has showed the latest version of the addon not the installed. Fixes: #10875 Signed-off-by: Arne Fitzenreiter --- src/pakfire/lib/functions.pl | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 96f8d144a9..11b1e37d58 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -519,8 +519,13 @@ sub dblist { } elsif ("$filter" eq "installed") { next unless ( -e "$Conf::dbdir/installed/meta-$templine[0]" ); } - if ("$forweb" eq "forweb") { - print "\n"; + if ("$forweb" eq "forweb") + { + if ("$filter" eq "notinstalled") { + print "\n"; + } else { + print "\n"; + } } else { if ("$Pakfire::enable_colors" eq "1") { if (&isinstalled("$templine[0]")) { -- 2.39.5