Lines 264-269
contain information of interest to Koha developers.
Link Here
|
264 |
Directory for Koha documentation accessed from the |
264 |
Directory for Koha documentation accessed from the |
265 |
command-line, e.g., READMEs. |
265 |
command-line, e.g., READMEs. |
266 |
|
266 |
|
|
|
267 |
=item LOCK_DIR |
268 |
|
269 |
Directory for Koha scripts to put their locks. |
270 |
|
267 |
=item LOG_DIR |
271 |
=item LOG_DIR |
268 |
|
272 |
|
269 |
Directory for Apache and Zebra logs produced by Koha. |
273 |
Directory for Apache and Zebra logs produced by Koha. |
Lines 359-364
my $target_map = {
Link Here
|
359 |
'./serials' => 'INTRANET_CGI_DIR', |
363 |
'./serials' => 'INTRANET_CGI_DIR', |
360 |
'./services' => 'INTRANET_CGI_DIR', |
364 |
'./services' => 'INTRANET_CGI_DIR', |
361 |
'./skel' => 'NONE', |
365 |
'./skel' => 'NONE', |
|
|
366 |
'./skel/var/lock/koha' => { target => 'LOCK_DIR', trimdir => -1 }, |
362 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
367 |
'./skel/var/log/koha' => { target => 'LOG_DIR', trimdir => -1 }, |
363 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
368 |
'./skel/var/spool/koha' => { target => 'BACKUP_DIR', trimdir => -1 }, |
364 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
369 |
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 }, |
Lines 664-669
my %test_suite_override_dirs = (
Link Here
|
664 |
KOHA_CONF_DIR => ['etc'], |
669 |
KOHA_CONF_DIR => ['etc'], |
665 |
ZEBRA_CONF_DIR => ['etc', 'zebradb'], |
670 |
ZEBRA_CONF_DIR => ['etc', 'zebradb'], |
666 |
Z3950_CONF_DIR => ['etc', 'z3950'], |
671 |
Z3950_CONF_DIR => ['etc', 'z3950'], |
|
|
672 |
LOCK_DIR => ['var', 'lock'], |
667 |
LOG_DIR => ['var', 'log'], |
673 |
LOG_DIR => ['var', 'log'], |
668 |
BACKUP_DIR => ['var', 'spool'], |
674 |
BACKUP_DIR => ['var', 'spool'], |
669 |
SCRIPT_DIR => ['bin'], |
675 |
SCRIPT_DIR => ['bin'], |
Lines 1393-1398
sub get_target_directories {
Link Here
|
1393 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1399 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1394 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1400 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1395 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1401 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
|
|
1402 |
$dirmap{'LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock'); |
1396 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1403 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1397 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1404 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1398 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'koha', 'plugins'); |
1405 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'koha', 'plugins'); |
Lines 1429-1434
sub get_target_directories {
Link Here
|
1429 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1436 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1430 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1437 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1431 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1438 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
|
|
1439 |
$dirmap{'LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock'); |
1432 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1440 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1433 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1441 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1434 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'plugins'); |
1442 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'plugins'); |
Lines 1454-1459
sub get_target_directories {
Link Here
|
1454 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1462 |
$dirmap{'MAN_DIR'} = File::Spec->catdir(@basedir, $package, 'man'); |
1455 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1463 |
$dirmap{'DOC_DIR'} = File::Spec->catdir(@basedir, $package, 'doc'); |
1456 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
1464 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
|
|
1465 |
$dirmap{'LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package); |
1457 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
1466 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
1458 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1467 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1459 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'plugins'); |
1468 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'plugins'); |