From 265f2cb6944d9c7eb13d6bf858ba87a048502e48 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 --- 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 685a0357fcb..4838ae1a627 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.44.0