From ff3b6cf7bc0bbf27c548baf51c095b3a27cfc0ae Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 11 Mar 2020 12:16:39 +0100 Subject: [PATCH] Bug 24131: Always display bug numbers on 5 characters To correctly align bug numbers < 10000 Signed-off-by: Kyle M Hall Signed-off-by: Martin Renvoize --- installer/data/mysql/updatedatabase.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index 178ac294a4..2c0d6334fa 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -21323,7 +21323,7 @@ sub NewVersion { unless ( $bug_number ) { say sprintf "Upgrade to %s done: %s", $DBversion, $description } else { - say sprintf "Upgrade to %s done: Bug %s - %s", $DBversion, $bug_number, $description; + say sprintf "Upgrade to %s done: Bug %5s - %s", $DBversion, $bug_number, $description; } } say sprintf "\t\t\t\t\t- %s", $description @@ -21331,7 +21331,7 @@ sub NewVersion { unless ( $bug_number ) { say sprintf "Upgrade to %s done: %s", $DBversion, $description; } else { - say sprintf "Upgrade to %s done: Bug %s - %s", $DBversion, $bug_number, $description; + say sprintf "Upgrade to %s done: Bug %5s - %s", $DBversion, $bug_number, $description; } } $first = 0; -- 2.39.5