mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-11 11:35:54 +02:00
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 <arne_f@ipfire.org>
This commit is contained in:
@@ -519,8 +519,13 @@ sub dblist {
|
||||
} elsif ("$filter" eq "installed") {
|
||||
next unless ( -e "$Conf::dbdir/installed/meta-$templine[0]" );
|
||||
}
|
||||
if ("$forweb" eq "forweb") {
|
||||
print "<option value=\"$templine[0]\">$templine[0]-$templine[1]-$templine[2]</option>\n";
|
||||
if ("$forweb" eq "forweb")
|
||||
{
|
||||
if ("$filter" eq "notinstalled") {
|
||||
print "<option value=\"$templine[0]\">$templine[0]-$templine[1]-$templine[2]</option>\n";
|
||||
} else {
|
||||
print "<option value=\"$templine[0]\">$templine[0]</option>\n";
|
||||
}
|
||||
} else {
|
||||
if ("$Pakfire::enable_colors" eq "1") {
|
||||
if (&isinstalled("$templine[0]")) {
|
||||
|
||||
Reference in New Issue
Block a user