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

(-)a/debian/scripts/koha-functions.sh (-1 / +13 lines)
Lines 330-335 is_z3950_running() Link Here
330
    fi
330
    fi
331
}
331
}
332
332
333
is_elasticsearch_enabled()
334
{
335
    local instancename=$1
336
337
    search_engine=$(koha-shell $instancename -c "/usr/share/koha/bin/admin/koha-preferences get SearchEngine")
338
339
    if [ "$search_engine" == "Elasticsearch" ]; then
340
        return 0
341
    else
342
        return 1
343
    fi
344
}
345
333
adjust_paths_dev_install()
346
adjust_paths_dev_install()
334
{
347
{
335
# Adjust KOHA_HOME, PERL5LIB for dev installs, as indicated by
348
# Adjust KOHA_HOME, PERL5LIB for dev installs, as indicated by
336
- 

Return to bug 33108