Added a notification to index.cgi when core-updates are available.

This commit is contained in:
Jan Paul Tuecking
2009-09-14 17:59:50 +02:00
parent 0da06d3fb8
commit 2b38ab5c3a
4 changed files with 14 additions and 0 deletions

5
html/cgi-bin/index.cgi Normal file → Executable file
View File

@@ -28,6 +28,7 @@ use strict;
require '/var/ipfire/general-functions.pl';
require "${General::swroot}/lang.pl";
require "${General::swroot}/header.pl";
require "/opt/pakfire/lib/functions.pl";
my %cgiparams=();
my %pppsettings=();
@@ -421,6 +422,10 @@ if ($warnmessage) {
}
print <<END;
</table>
END
;
&Pakfire::dblist("upgrade", "notice");
print <<END;
END
} else {