Reset the terminal color mode after reporting (to avoid polluting the
user's shell), and use blue instead of white for the report header and
footer.
---
 koha_perl_deps.pl |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/koha_perl_deps.pl b/koha_perl_deps.pl
index 934dea5..b2da9ea 100755
--- a/koha_perl_deps.pl
+++ b/koha_perl_deps.pl
@@ -39,7 +39,7 @@ push @pm, 'missing_pm' if $missing || $all;
 push @pm, 'upgrade_pm' if $upgrade || $all;
 push @pm, 'current_pm' if $installed || $all;
 
-print color 'bold white' if $color;
+print color 'bold blue' if $color;
 print"
 Module Name                                 Current Version                    
   Required Version         Module Required
 
--------------------------------------------------------------------------------------------------------------------------
@@ -67,7 +67,7 @@ write;
         }
     }
 }
-print color 'bold white' if $color;
+print color 'bold blue' if $color;
 my $footer = "
 
--------------------------------------------------------------------------------------------------------------------------
 Total modules reported: $count                                                 
    ";
@@ -80,6 +80,7 @@ else {
 }
 
 print $footer;
+print color 'reset' if $color;
 
 1;
 
-- 
1.7.2.5

_______________________________________________
Koha-patches mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-patches
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to