Bugzilla – Attachment 105413 Details for
Bug 25618
Upgrading Koha to packages made of latest master version breaks Z3950
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 25618: Fix wrong package install path for misc dir
Bug-25618-Fix-wrong-package-install-path-for-misc-.patch (text/plain), 1.70 KB, created by
Jonathan Druart
on 2020-05-28 13:31:43 UTC
(
hide
)
Description:
Bug 25618: Fix wrong package install path for misc dir
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2020-05-28 13:31:43 UTC
Size:
1.70 KB
patch
obsolete
>From 386696835ae194a6132d056542b931dafd894e8d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Thu, 28 May 2020 15:30:02 +0200 >Subject: [PATCH] Bug 25618: Fix wrong package install path for misc dir > >root@koha-debian9:/# koha-z3950-responder --start d9 >[....] Starting Z39.50/SRU daemon for d9:Can't open perl script "/usr/share/koha/bin/z3950_responder.pl/z3950_responder.pl": Not a directory > failed! > >Test plan: >On a dev install, copy the debian script and run it >Same on a package install >--- > debian/scripts/koha-z3950-responder | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/debian/scripts/koha-z3950-responder b/debian/scripts/koha-z3950-responder >index b364acd78e..329840cb3b 100755 >--- a/debian/scripts/koha-z3950-responder >+++ b/debian/scripts/koha-z3950-responder >@@ -86,12 +86,12 @@ start_z3950() > logging="-l /var/log/koha/${instancename}/z3950.log" > > if [ "$DEV_INSTALL" = "1" ]; then >- LIBDIR=$KOHA_HOME >+ MISCDIR=$KOHA_HOME > else >- LIBDIR=$KOHA_HOME/lib >+ MISCDIR=/usr/share/koha/bin > fi > >- Z3950RESPONDER="/usr/bin/perl $LIBDIR/misc/z3950_responder.pl" >+ Z3950RESPONDER="/usr/bin/perl $MISCDIR/z3950_responder.pl" > if [ "$debug_mode" = "yes" ]; then > if [ "$DEV_INSTALL" = "1" ]; then > warn "Not a dev install, disabling debug mode" >@@ -99,7 +99,7 @@ start_z3950() > environment="development" > daemonize="" > logging="" # remote debugger takes care >- Z3950RESPONDER="/usr/bin/perl -d ${LIBDIR}/misc/z3950_responder.pl" >+ Z3950RESPONDER="/usr/bin/perl -d ${MISCDIR}/z3950_responder.pl" > fi > fi > >-- >2.20.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 25618
:
105413
|
105414
|
105415
|
105434