From: Alexander Koch Date: Thu, 9 May 2019 21:55:58 +0000 (+0200) Subject: Pakfire: Add Core-Version to "status" X-Git-Tag: v2.23-core133~134 X-Git-Url: http://git.ipfire.org/?p=ipfire-2.x.git;a=commitdiff_plain;h=8c072c5c43a98c58017c5f3442d9e22920dba1a0 Pakfire: Add Core-Version to "status" Add the IPFire-Core-Version to the status message. Signed-off-by: Alexander Koch Signed-off-by: Michael Tremer --- diff --git a/src/pakfire/lib/functions.pl b/src/pakfire/lib/functions.pl index 9ed911d0ce..460eaf303c 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";