[Koha-bugs] [Bug 25510] Typo in koha-common.postinst causing shell errors
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 15 10:11:43 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25510
--- Comment #3 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
If I execute:
log4perl_component()
{
local config=$1
local component=$2
if [ grep -q -x "log4perl.logger.$component" $config ]; then
return 0
else
return 1
fi
}
for site in $(koha-list); do
log4perl_config="/etc/koha/sites/$site/log4perl.conf"
if ! log4perl_component $log4perl_config "sip"; then
echo $site
fi
done
I get
xxx.pl: line 67: [: too many arguments
Looks like we need another change
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list