View | Details | Raw Unified | Return to bug 25618
Collapse All | Expand All

(-)a/debian/scripts/koha-z3950-responder (-5 / +4 lines)
Lines 86-97 start_z3950() Link Here
86
    logging="-l /var/log/koha/${instancename}/z3950.log"
86
    logging="-l /var/log/koha/${instancename}/z3950.log"
87
87
88
    if [ "$DEV_INSTALL" = "1" ]; then
88
    if [ "$DEV_INSTALL" = "1" ]; then
89
        LIBDIR=$KOHA_HOME
89
        MISCDIR=$KOHA_HOME/misc
90
    else
90
    else
91
        LIBDIR=$KOHA_HOME/lib
91
        MISCDIR=/usr/share/koha/bin
92
    fi
92
    fi
93
93
94
    Z3950RESPONDER="/usr/bin/perl $LIBDIR/misc/z3950_responder.pl"
94
    Z3950RESPONDER="/usr/bin/perl $MISCDIR/z3950_responder.pl"
95
    if [ "$debug_mode" = "yes" ]; then
95
    if [ "$debug_mode" = "yes" ]; then
96
        if [ "$DEV_INSTALL" = "1" ]; then
96
        if [ "$DEV_INSTALL" = "1" ]; then
97
            warn "Not a dev install, disabling debug mode"
97
            warn "Not a dev install, disabling debug mode"
Lines 99-105 start_z3950() Link Here
99
            environment="development"
99
            environment="development"
100
            daemonize=""
100
            daemonize=""
101
            logging="" # remote debugger takes care
101
            logging="" # remote debugger takes care
102
            Z3950RESPONDER="/usr/bin/perl -d ${LIBDIR}/misc/z3950_responder.pl"
102
            Z3950RESPONDER="/usr/bin/perl -d ${MISCDIR}/z3950_responder.pl"
103
        fi
103
        fi
104
    fi
104
    fi
105
105
106
- 

Return to bug 25618