Lines 230-235
Directory for Apache and Zebra logs produced by Koha.
Link Here
|
230 |
|
230 |
|
231 |
Directory for backup files produced by Koha. |
231 |
Directory for backup files produced by Koha. |
232 |
|
232 |
|
|
|
233 |
=item PLUGINS_DIR |
234 |
|
235 |
Directory for external Koha plugins. |
236 |
|
233 |
=item PAZPAR2_CONF_DIR |
237 |
=item PAZPAR2_CONF_DIR |
234 |
|
238 |
|
235 |
Directory for PazPar2 configuration files. |
239 |
Directory for PazPar2 configuration files. |
Lines 309-314
my $target_map = {
Link Here
|
309 |
'./skel/var/lib/koha/zebradb/biblios/register' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
313 |
'./skel/var/lib/koha/zebradb/biblios/register' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
310 |
'./skel/var/lib/koha/zebradb/biblios/shadow' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
314 |
'./skel/var/lib/koha/zebradb/biblios/shadow' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
311 |
'./skel/var/lib/koha/zebradb/biblios/tmp' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
315 |
'./skel/var/lib/koha/zebradb/biblios/tmp' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 }, |
|
|
316 |
'./skel/var/lib/koha/plugins' => { target => 'PLUGINS_DIR', trimdir => 6 }, |
312 |
'./sms' => 'INTRANET_CGI_DIR', |
317 |
'./sms' => 'INTRANET_CGI_DIR', |
313 |
'./suggestion' => 'INTRANET_CGI_DIR', |
318 |
'./suggestion' => 'INTRANET_CGI_DIR', |
314 |
'./svc' => 'INTRANET_CGI_DIR', |
319 |
'./svc' => 'INTRANET_CGI_DIR', |
Lines 1235-1240
sub get_target_directories {
Link Here
|
1235 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1240 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1236 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1241 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1237 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1242 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
|
|
1243 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'koha', 'plugins'); |
1238 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1244 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1239 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1245 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1240 |
} elsif ($mode eq 'dev') { |
1246 |
} elsif ($mode eq 'dev') { |
Lines 1265-1270
sub get_target_directories {
Link Here
|
1265 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1271 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lock', 'zebradb'); |
1266 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1272 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'log'); |
1267 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
1273 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'spool'); |
|
|
1274 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'plugins'); |
1268 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1275 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'lib', 'zebradb'); |
1269 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1276 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(@basedir, $package, 'var', 'run', 'zebradb'); |
1270 |
} else { |
1277 |
} else { |
Lines 1287-1292
sub get_target_directories {
Link Here
|
1287 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
1294 |
$dirmap{'ZEBRA_LOCK_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lock', $package, 'zebradb'); |
1288 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
1295 |
$dirmap{'LOG_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'log', $package); |
1289 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
1296 |
$dirmap{'BACKUP_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'spool', $package); |
|
|
1297 |
$dirmap{'PLUGINS_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'plugins'); |
1290 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1298 |
$dirmap{'ZEBRA_DATA_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'lib', $package, 'zebradb'); |
1291 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1299 |
$dirmap{'ZEBRA_RUN_DIR'} = File::Spec->catdir(File::Spec->rootdir(), 'var', 'run', $package, 'zebradb'); |
1292 |
} |
1300 |
} |
Lines 1560-1566
make_upgrade_backup ::
Link Here
|
1560 |
\t\$(NOECHO) umask 022; \$(MOD_BACKUP) \\ |
1568 |
\t\$(NOECHO) umask 022; \$(MOD_BACKUP) \\ |
1561 |
/; |
1569 |
/; |
1562 |
foreach my $key (qw/KOHA_CONF_DIR INTRANET_TMPL_DIR INTRANET_WWW_DIR OPAC_TMPL_DIR OPAC_WWW_DIR |
1570 |
foreach my $key (qw/KOHA_CONF_DIR INTRANET_TMPL_DIR INTRANET_WWW_DIR OPAC_TMPL_DIR OPAC_WWW_DIR |
1563 |
PAZPAR2_CONF_DIR ZEBRA_CONF_DIR/) { |
1571 |
PAZPAR2_CONF_DIR ZEBRA_CONF_DIR PLUGINS_DIR/) { |
1564 |
$upgrade .= "\t\t\$(KOHA_INST_$key) \$(KOHA_DEST_$key) \\\n" |
1572 |
$upgrade .= "\t\t\$(KOHA_INST_$key) \$(KOHA_DEST_$key) \\\n" |
1565 |
unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or |
1573 |
unless ($config{'INSTALL_ZEBRA'} ne "yes" and $key =~ /ZEBRA/) or |
1566 |
exists $skip_directories->{$key} or |
1574 |
exists $skip_directories->{$key} or |