Bugzilla – Attachment 6511 Details for
Bug 6914
koha_perl_deps.pl color option changes user's shell prompt
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 6914 - fixes for the color option of koha_perl_deps.pl
Bug-6914---fixes-for-the-color-option-of-kohaperld.patch (text/plain), 1.42 KB, created by
Chris Cormack
on 2011-12-02 07:43:31 UTC
(
hide
)
Description:
Bug 6914 - fixes for the color option of koha_perl_deps.pl
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2011-12-02 07:43:31 UTC
Size:
1.42 KB
patch
obsolete
>From 87fe6a0346376e2da0d65bcf341cfed3d7057546 Mon Sep 17 00:00:00 2001 >From: Greg Barniskis <gbarniskis@gmail.com> >Date: Mon, 26 Sep 2011 11:15:06 -0500 >Subject: [PATCH] Bug 6914 - fixes for the color option of koha_perl_deps.pl > >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. > >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > 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 c5b614e..01e17d5 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" > Installed Required Module is > Module Name Version Version Required >@@ -68,7 +68,7 @@ write; > } > } > } >-print color 'bold white' if $color; >+print color 'bold blue' if $color; > my $footer = " > -------------------------------------------------------------------------------------------- > Total modules reported: $count "; >@@ -81,6 +81,7 @@ else { > } > > print $footer; >+print color 'reset' if $color; > > 1; > >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 6914
:
5584
|
5591
| 6511