mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-05-08 05:56:11 +02:00
Added a notification to index.cgi when core-updates are available.
This commit is contained in:
@@ -399,6 +399,9 @@ sub dblist {
|
||||
if ("$core_release" > "$Conf::core_mine") {
|
||||
if ("$forweb" eq "forweb") {
|
||||
print "<option value=\"core\">Core-Update -- $Conf::version -- Release: $Conf::core_mine -> $core_release</option>\n";
|
||||
}
|
||||
elsif ("$forweb" eq "notice") {
|
||||
print "<a href='pakfire.cgi'>$Lang::tr{'core notice 1'} $Conf::core_mine $Lang::tr{'core notice 2'} $core_release $Lang::tr{'core notice 3'}</a>";
|
||||
} else {
|
||||
my $command = "Core-Update $Conf::version\nRelease: $Conf::core_mine -> $core_release\n";
|
||||
if ("$Pakfire::enable_colors" eq "1") {
|
||||
|
||||
Reference in New Issue
Block a user