From e3f4af26268ffb4857748cdd319893be53c3886e Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Tue, 16 Apr 2024 12:22:42 +0100 Subject: [PATCH] Bug 35681: Use Koha::Installer::Output in template Signed-off-by: Katrin Fischer --- installer/data/mysql/atomicupdate/skeleton.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/installer/data/mysql/atomicupdate/skeleton.pl b/installer/data/mysql/atomicupdate/skeleton.pl index 685a0357fc..4838ae1a62 100755 --- a/installer/data/mysql/atomicupdate/skeleton.pl +++ b/installer/data/mysql/atomicupdate/skeleton.pl @@ -1,5 +1,5 @@ use Modern::Perl; -use Term::ANSIColor; +use Koha::Installer::Output qw(say_warning say_failure say_success say_info); return { bug_number => "BUG_NUMBER", @@ -31,9 +31,9 @@ return { say $out "Added 'XXX' HTML customization"; # Other information - say $out colored("Use red for danger/failure", 'red'); - say $out colored("Use green for success", 'green'); - say $out colored("Use yellow for warning/a call to action", 'yellow'); - say $out colored("Use blue for further information", 'blue'); + say_failure("Use red for danger/failure"); + say_success("Use green for success"); + say_warning("Use yellow for warning/a call to action"); + say_info("Use blue for further information"); }, }; -- 2.39.5