Bugzilla – Attachment 105152 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]
[19.11] Bug 25510: Fix syntax error in koha-common.postinst
Bug-25510-Fix-syntax-error-in-koha-commonpostinst.patch (text/plain), 1.36 KB, created by
Kyle M Hall (khall)
on 2020-05-20 14:41:20 UTC
(
hide
)
Description:
[19.11] Bug 25510: Fix syntax error in koha-common.postinst
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2020-05-20 14:41:20 UTC
Size:
1.36 KB
patch
obsolete
>From bffa54eae3d6bdc76580b10096220b943303f082 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Fri, 15 May 2020 10:12:46 +0200 >Subject: [PATCH] Bug 25510: Fix syntax error in koha-common.postinst > >Signed-off-by: David Cook <dcook@prosentient.com.au> >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > debian/koha-common.postinst | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst >index bdc55016e6..93f07c15a5 100644 >--- a/debian/koha-common.postinst >+++ b/debian/koha-common.postinst >@@ -136,7 +136,7 @@ log4perl_component() > local config=$1 > local component=$2 > >- if [ grep -q -x "log4perl.logger.$component" $config ]; then >+ if grep -q -x "log4perl.logger.$component" $config; then > return 0 > else > return 1 >@@ -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 >-- >2.24.1 (Apple Git-126)
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