Bugzilla – Attachment 5591 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]
patch attempt 2
0001-Bug-6914-fixes-for-the-color-option-of-koha_perl_dep.patch (text/plain), 1.53 KB, created by
Greg Barniskis
on 2011-09-26 16:26:41 UTC
(
hide
)
Description:
patch attempt 2
Filename:
MIME Type:
Creator:
Greg Barniskis
Created:
2011-09-26 16:26:41 UTC
Size:
1.53 KB
patch
obsolete
>From 4320423a666274e1b619d7e137d74d65a7247bb8 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 >Content-Type: text/plain; charset="utf-8" > >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 >
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