Bugzilla – Attachment 39429 Details for
Bug 14106
koha-conf.xml paths to zebra libraries are wrong in jessie
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14106: (QA followup) avoid failures if no instances created
Bug-14106-QA-followup-avoid-failures-if-no-instanc.patch (text/plain), 2.35 KB, created by
Tomás Cohen Arazi (tcohen)
on 2015-05-22 15:31:03 UTC
(
hide
)
Description:
Bug 14106: (QA followup) avoid failures if no instances created
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2015-05-22 15:31:03 UTC
Size:
2.35 KB
patch
obsolete
>From b46e47840a021488f31722645b8e63e454cff7db Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@theke.io> >Date: Fri, 22 May 2015 12:28:14 -0300 >Subject: [PATCH] Bug 14106: (QA followup) avoid failures if no instances > created > >If there are no instances already created on install/upgrade, the >koha-common.postinst script hungs in the absence of files to fix >and keeps waiting for user input. > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > debian/koha-common.postinst | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/debian/koha-common.postinst b/debian/koha-common.postinst >index 94d479d..20c354d 100644 >--- a/debian/koha-common.postinst >+++ b/debian/koha-common.postinst >@@ -136,7 +136,9 @@ fi > # that we're fixing them from is there, so we just run it every time. Maybe > # in many years time we can get rid of this, when no one will be running > # Koha < 3.20. >-perl -p -i -e 's{^modulePath: /usr/lib/idzebra-2.0/modules$}{modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules}' $( find /etc/koha/sites -name zebra-authorities.cfg -or -name zebra-authorities-dom.cfg -or -name zebra-biblios.cfg -or -name zebra-biblios-dom.cfg ) >+for zfile in $( find /etc/koha/sites -name zebra-authorities.cfg -or -name zebra-authorities-dom.cfg -or -name zebra-biblios.cfg -or -name zebra-biblios-dom.cfg ); do >+ perl -p -i -e 's{^modulePath: /usr/lib/idzebra-2.0/modules$}{modulePath: /usr/lib/idzebra-2.0/modules:/usr/lib/x86_64-linux-gnu/idzebra-2.0/modules:/usr/lib/i386-linux-gnu/idzebra-2.0/modules:/usr/lib/aarch64-linux-gnu/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabi/idzebra-2.0/modules:/usr/lib/arm-linux-gnueabihf/idzebra-2.0/modules:/usr/lib/mips-linux-gnu/idzebra-2.0/modules:/usr/lib/mipsel-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc-linux-gnu/idzebra-2.0/modules:/usr/lib/powerpc64le-linux-gnu/idzebra-2.0/modules:/usr/lib/s390x-linux-gnu/idzebra-2.0/modules}' $zfile >+done > > db_stop > >-- >2.4.1
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 14106
:
39356
|
39357
|
39378
|
39410
|
39411
| 39429 |
43886