From: Jan Paul Tuecking Date: Sun, 11 Oct 2009 16:13:33 +0000 (+0200) Subject: Fixed core-update notification on index.cgi, it should not display any thing else... X-Git-Tag: v2.9-beta1~698 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=462a5e8678c654d83bab1489674cf423c0247d73;p=ipfire-2.x.git Fixed core-update notification on index.cgi, it should not display any thing else then core-updates. --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 8c6a295554..ff330b5463 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -401,7 +401,7 @@ sub dblist { print "\n"; } elsif ("$forweb" eq "notice") { - print "$Lang::tr{'core notice 1'} $Conf::core_mine $Lang::tr{'core notice 2'} $core_release $Lang::tr{'core notice 3'}"; + print "


$Lang::tr{'core notice 1'} $Conf::core_mine $Lang::tr{'core notice 2'} $core_release $Lang::tr{'core notice 3'}"; } else { my $command = "Core-Update $Conf::version\nRelease: $Conf::core_mine -> $core_release\n"; if ("$Pakfire::enable_colors" eq "1") { @@ -437,7 +437,7 @@ sub dblist { } foreach $prog (@db) { @templine = split(/\;/,$prog); - if (("$name" eq "$templine[0]") && ("$release" < "$templine[2]" )) { + if (("$name" eq "$templine[0]") && ("$release" < "$templine[2]" && "$forweb" ne "notice")) { push(@updatepaks,$name); if ("$forweb" eq "forweb") { print "\n";