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

(-)a/debian/scripts/koha-functions.sh (-1 / +19 lines)
Lines 216-221 is_plack_running() Link Here
216
    fi
216
    fi
217
}
217
}
218
218
219
adjust_paths_dev_install()
220
{
221
# Adjust KOHA_HOME, PERL5LIB for dev installs, as indicated by
222
# corresponding tag in koha-conf.xml
223
224
    local instancename=$1
225
    local dev_install
226
227
    if [ -e /etc/koha/sites/$instancename/koha-conf.xml ]; then
228
        dev_install=$(xmlstarlet sel -t -v 'yazgfs/config/dev_install' /etc/koha/sites/$instancename/koha-conf.xml)
229
    fi
230
231
    if [ "$dev_install" != "" ]; then
232
        DEV_INSTALL=1
233
        KOHA_HOME=$dev_install
234
        PERL5LIB=$dev_install
235
    fi
236
}
237
219
get_instances()
238
get_instances()
220
{
239
{
221
    find /etc/koha/sites -mindepth 1 -maxdepth 1\
240
    find /etc/koha/sites -mindepth 1 -maxdepth 1\
222
- 

Return to bug 16733