Bugzilla – Attachment 105005 Details for
Bug 25510
Typo in koha-common.postinst causing shell errors
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25510: Put space between negation operator and function name
Bug-25510-Put-space-between-negation-operator-and-.patch (text/plain), 1.67 KB, created by
David Cook
on 2020-05-18 06:24:19 UTC
(
hide
)
Description:
Bug 25510: Put space between negation operator and function name
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-05-18 06:24:19 UTC
Size:
1.67 KB
patch
obsolete
>From 56b93f61a54bc4f92582a09e468442d0ada5318a Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Mon, 18 May 2020 06:23:07 +0000 >Subject: [PATCH] Bug 25510: Put space between negation operator and function > name > >This patch puts a space between the negation operator ! and >the function name (ie log4perl_component). >--- > debian/koha-common.postinst | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst >index f14b031526..b645b470ce 100644 >--- a/debian/koha-common.postinst >+++ b/debian/koha-common.postinst >@@ -146,7 +146,7 @@ log4perl_component() > # Take care of the instance's log4perl.conf file > for site in $(koha-list); do > log4perl_config="/etc/koha/sites/$site/log4perl.conf" >- if !log4perl_component $log4perl_config "z3950"; then >+ if ! log4perl_component $log4perl_config "z3950"; then > cat <<EOF >> $log4perl_config > log4perl.logger.z3950 = WARN, Z3950 > log4perl.appender.Z3950=Log::Log4perl::Appender::File >@@ -159,7 +159,7 @@ log4perl.appender.Z3950.utf8=1 > EOF > fi > >- if !log4perl_component $log4perl_config "api"; then >+ if ! log4perl_component $log4perl_config "api"; then > cat <<EOF >> $log4perl_config > log4perl.logger.api = WARN, API > log4perl.appender.API=Log::Log4perl::Appender::File >@@ -175,7 +175,7 @@ done > > for site in $(koha-list); do > log4perl_config="/etc/koha/sites/$site/log4perl.conf" >- if !log4perl_component $log4perl_config "sip"; then >+ if ! log4perl_component $log4perl_config "sip"; then > cat <<EOF >> $log4perl_config > log4perl.logger.sip = DEBUG, SIP > log4perl.appender.SIP=Log::Log4perl::Appender::File >-- >2.11.0
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 25510
:
104912
|
104921
|
105005
|
105007
|
105008
|
105052
|
105053
|
105134
|
105135
|
105152
|
105153