Bugzilla – Attachment 104912 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: Fix shell syntax for updating log4perl.conf for instances
Bug-25510-Fix-shell-syntax-for-updating-log4perlco.patch (text/plain), 952 bytes, created by
David Cook
on 2020-05-15 05:20:43 UTC
(
hide
)
Description:
Bug 25510: Fix shell syntax for updating log4perl.conf for instances
Filename:
MIME Type:
Creator:
David Cook
Created:
2020-05-15 05:20:43 UTC
Size:
952 bytes
patch
obsolete
>From b08e984e1c635bd4567cbf47b03b8dcb27216c05 Mon Sep 17 00:00:00 2001 >From: David Cook <dcook@prosentient.com.au> >Date: Fri, 15 May 2020 15:18:20 +1000 >Subject: [PATCH] Bug 25510: Fix shell syntax for updating log4perl.conf for > instances > >This patch fixes the shell syntax when updating log4perl.conf >for instances. >--- > debian/koha-common.postinst | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst >index 46bc087d2b..5119375ffc 100644 >--- a/debian/koha-common.postinst >+++ b/debian/koha-common.postinst >@@ -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.16.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 25510
:
104912
|
104921
|
105005
|
105007
|
105008
|
105052
|
105053
|
105134
|
105135
|
105152
|
105153