mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 02:42:58 +02:00
Pakfire: Add Core-Version to "status"
Add the IPFire-Core-Version to the status message. Signed-off-by: Alexander Koch <ipfire@starkstromkonsument.de> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
b8b1f9eabe
commit
8c072c5c43
@@ -925,7 +925,8 @@ sub reboot_required {
|
||||
|
||||
sub status {
|
||||
# General info
|
||||
my $return = "Core-Update-Level: $Conf::core_mine\n";
|
||||
my $return = "Core-Version: $Conf::version\n";
|
||||
$return .= "Core-Update-Level: $Conf::core_mine\n";
|
||||
$return .= "Last update: " . &General::age("/opt/pakfire/db/core/mine") . " ago\n";
|
||||
$return .= "Last core-list update: " . &General::age("/opt/pakfire/db/lists/core-list.db") . " ago\n";
|
||||
$return .= "Last server-list update: " . &General::age("/opt/pakfire/db/lists/server-list.db") . " ago\n";
|
||||
|
||||
Reference in New Issue
Block a user