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

(-)a/debian/scripts/koha-elasticsearch (-1 / +1 lines)
Lines 178-184 while [ -n "$*" ]; do Link Here
178
done
178
done
179
179
180
# Optionally use alternative paths for a dev install
180
# Optionally use alternative paths for a dev install
181
adjust_paths_dev_install $1
181
adjust_paths_git_install $1
182
182
183
# Parse command line.
183
# Parse command line.
184
if [ $# -lt 1 ]; then
184
if [ $# -lt 1 ]; then
(-)a/debian/scripts/koha-es-indexer (-1 / +1 lines)
Lines 199-205 while [ $# -gt 0 ]; do Link Here
199
done
199
done
200
200
201
# Optionally use alternative paths for a dev install
201
# Optionally use alternative paths for a dev install
202
adjust_paths_dev_install $1
202
adjust_paths_git_install $1
203
203
204
if [ "$DEV_INSTALL" = "" ]; then
204
if [ "$DEV_INSTALL" = "" ]; then
205
    worker_DAEMON="${KOHA_HOME}/bin/workers/es_indexer_daemon.pl"
205
    worker_DAEMON="${KOHA_HOME}/bin/workers/es_indexer_daemon.pl"
(-)a/debian/scripts/koha-functions.sh (-1 / +1 lines)
Lines 365-371 is_elasticsearch_enabled() Link Here
365
    fi
365
    fi
366
}
366
}
367
367
368
adjust_paths_dev_install()
368
adjust_paths_git_install()
369
{
369
{
370
# Adjust KOHA_HOME, PERL5LIB, KOHA_BINDIR for git installs
370
# Adjust KOHA_HOME, PERL5LIB, KOHA_BINDIR for git installs
371
371
(-)a/debian/scripts/koha-indexer (-1 / +1 lines)
Lines 195-201 while [ $# -gt 0 ]; do Link Here
195
done
195
done
196
196
197
# Optionally use alternative paths for a dev install
197
# Optionally use alternative paths for a dev install
198
adjust_paths_dev_install $1
198
adjust_paths_git_install $1
199
199
200
# Check if an alternate indexer has been set
200
# Check if an alternate indexer has been set
201
if [ ! -z "$ALTERNATE_INDEXER_DAEMON" ]; then
201
if [ ! -z "$ALTERNATE_INDEXER_DAEMON" ]; then
(-)a/debian/scripts/koha-plack (-1 / +1 lines)
Lines 367-373 _do_instance() { Link Here
367
    local KOHA_HOME=$KOHA_HOME
367
    local KOHA_HOME=$KOHA_HOME
368
    local DEV_INSTALL=$DEV_INSTALL
368
    local DEV_INSTALL=$DEV_INSTALL
369
369
370
    adjust_paths_dev_install $name
370
    adjust_paths_git_install $name
371
    PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer
371
    PERL5LIB=$PERL5LIB:$KOHA_HOME/installer:$KOHA_HOME/lib/installer
372
    # If debug mode is enabled, add the debugger lib path
372
    # If debug mode is enabled, add the debugger lib path
373
    # to PERL5LIB if appropriate
373
    # to PERL5LIB if appropriate
(-)a/debian/scripts/koha-rebuild-zebra (-1 / +1 lines)
Lines 149-155 while [ -n "$*" ]; do Link Here
149
done
149
done
150
150
151
# Optionally use alternative paths for a dev install
151
# Optionally use alternative paths for a dev install
152
adjust_paths_dev_install $1
152
adjust_paths_git_install $1
153
153
154
# Parse command line.
154
# Parse command line.
155
if [ $# -lt 1 ]; then
155
if [ $# -lt 1 ]; then
(-)a/debian/scripts/koha-reset-passwd (-1 / +1 lines)
Lines 46-52 set_password() Link Here
46
    local userid=$2
46
    local userid=$2
47
47
48
    # Optionally use alternative paths for a dev install
48
    # Optionally use alternative paths for a dev install
49
    adjust_paths_dev_install $1
49
    adjust_paths_git_install $1
50
50
51
    if [ "$DEV_INSTALL" = "" ]; then
51
    if [ "$DEV_INSTALL" = "" ]; then
52
        KOHA_BINDIR=$KOHA_HOME/bin
52
        KOHA_BINDIR=$KOHA_HOME/bin
(-)a/debian/scripts/koha-sip (-1 / +1 lines)
Lines 67-73 start_sip() Link Here
67
        if [ ! -f "/etc/koha/sites/${name}/SIPconfig.xml" ] || [ ! -f "/var/lib/koha/${name}/sip.enabled" ] ; then
67
        if [ ! -f "/etc/koha/sites/${name}/SIPconfig.xml" ] || [ ! -f "/var/lib/koha/${name}/sip.enabled" ] ; then
68
            echo "SIP is disabled, or you do not have a SIPconfig.xml file."
68
            echo "SIP is disabled, or you do not have a SIPconfig.xml file."
69
        else
69
        else
70
            adjust_paths_dev_install $name
70
            adjust_paths_git_install $name
71
            export KOHA_HOME PERL5LIB
71
            export KOHA_HOME PERL5LIB
72
72
73
            if [ "$DEV_INSTALL" = "" ]; then
73
            if [ "$DEV_INSTALL" = "" ]; then
(-)a/debian/scripts/koha-sitemap (-1 / +1 lines)
Lines 172-178 while [ $# -gt 0 ]; do Link Here
172
done
172
done
173
173
174
# Optionally use alternative paths for a dev install
174
# Optionally use alternative paths for a dev install
175
adjust_paths_dev_install $1
175
adjust_paths_git_install $1
176
if [ "$DEV_INSTALL" = "" ]; then
176
if [ "$DEV_INSTALL" = "" ]; then
177
    KOHA_BINDIR=$KOHA_HOME/bin
177
    KOHA_BINDIR=$KOHA_HOME/bin
178
else
178
else
(-)a/debian/scripts/koha-translate (-1 / +1 lines)
Lines 294-300 while [ $# -gt 0 ]; do Link Here
294
294
295
done
295
done
296
296
297
if [ "$dev" != "" ]; then adjust_paths_dev_install $dev; fi
297
if [ "$dev" != "" ]; then adjust_paths_git_install $dev; fi
298
check_koha_conf
298
check_koha_conf
299
init_template_paths
299
init_template_paths
300
PERL_CMD=`which perl`
300
PERL_CMD=`which perl`
(-)a/debian/scripts/koha-upgrade-schema (-1 / +1 lines)
Lines 30-36 else Link Here
30
fi
30
fi
31
31
32
# Optionally use alternative paths for a dev install
32
# Optionally use alternative paths for a dev install
33
adjust_paths_dev_install $1
33
adjust_paths_git_install $1
34
if [ "$DEV_INSTALL" = "" ]; then
34
if [ "$DEV_INSTALL" = "" ]; then
35
    CGI_PATH=$KOHA_HOME/intranet/cgi-bin
35
    CGI_PATH=$KOHA_HOME/intranet/cgi-bin
36
else
36
else
(-)a/debian/scripts/koha-worker (-1 / +1 lines)
Lines 212-218 while [ $# -gt 0 ]; do Link Here
212
done
212
done
213
213
214
# Optionally use alternative paths for a dev install
214
# Optionally use alternative paths for a dev install
215
adjust_paths_dev_install $1
215
adjust_paths_git_install $1
216
216
217
if [ "$DEV_INSTALL" = "" ]; then
217
if [ "$DEV_INSTALL" = "" ]; then
218
    worker_DAEMON="${KOHA_HOME}/bin/workers/background_jobs_worker.pl"
218
    worker_DAEMON="${KOHA_HOME}/bin/workers/background_jobs_worker.pl"
(-)a/debian/scripts/koha-z3950-responder (-2 / +1 lines)
Lines 302-308 if [ $# -gt 0 ]; then Link Here
302
302
303
        if is_instance $name; then
303
        if is_instance $name; then
304
304
305
            adjust_paths_dev_install $name
305
            adjust_paths_git_install $name
306
            export DEV_INSTALL
306
            export DEV_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
- 

Return to bug 39740