Add the IPFire-Core-Version to the status message.
Signed-off-by: Alexander Koch ipfire@starkstromkonsument.de --- src/pakfire/lib/functions.pl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 9ed911d..460eaf3 100644 --- a/src/pakfire/lib/functions.pl +++ b/src/pakfire/lib/functions.pl @@ -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";