From b08e984e1c635bd4567cbf47b03b8dcb27216c05 Mon Sep 17 00:00:00 2001 From: David Cook 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 <> $log4perl_config log4perl.logger.sip = DEBUG, SIP log4perl.appender.SIP=Log::Log4perl::Appender::File -- 2.16.4