|
Lines 85-91
start_z3950()
Link Here
|
| 85 |
daemonize="-D -d ${instancename}-koha-z3950" |
85 |
daemonize="-D -d ${instancename}-koha-z3950" |
| 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 [ "$GIT_INSTALL" = "1" ]; then |
| 89 |
MISCDIR=$KOHA_HOME/misc |
89 |
MISCDIR=$KOHA_HOME/misc |
| 90 |
else |
90 |
else |
| 91 |
MISCDIR=/usr/share/koha/bin |
91 |
MISCDIR=/usr/share/koha/bin |
|
Lines 93-99
start_z3950()
Link Here
|
| 93 |
|
93 |
|
| 94 |
Z3950RESPONDER="/usr/bin/perl $MISCDIR/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 [ "$GIT_INSTALL" = "1" ]; then |
| 97 |
warn "Not a dev install, disabling debug mode" |
97 |
warn "Not a dev install, disabling debug mode" |
| 98 |
else |
98 |
else |
| 99 |
environment="development" |
99 |
environment="development" |
|
Lines 303-309
if [ $# -gt 0 ]; then
Link Here
|
| 303 |
if is_instance $name; then |
303 |
if is_instance $name; then |
| 304 |
|
304 |
|
| 305 |
adjust_paths_git_install $name |
305 |
adjust_paths_git_install $name |
| 306 |
export DEV_INSTALL |
306 |
export GIT_INSTALL |
| 307 |
export KOHA_HOME |
307 |
export KOHA_HOME |
| 308 |
PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer |
308 |
PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer |
| 309 |
# If debug mode is enabled, add the debugger lib path |
309 |
# If debug mode is enabled, add the debugger lib path |