mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-27 03:07:43 +02:00
Added a notification to index.cgi when core-updates are available.
This commit is contained in:
5
html/cgi-bin/index.cgi
Normal file → Executable file
5
html/cgi-bin/index.cgi
Normal file → Executable 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 {
|
||||
|
||||
Reference in New Issue
Block a user