Browse Source

installer: fixed chown invocation; added skel for KOHA_LOG_DIR

3.0.x
Galen Charlton 15 years ago
parent
commit
5044c06592
  1. 4
      Makefile.PL
  2. 1
      skel/var/log/koha/README

4
Makefile.PL

@ -259,6 +259,7 @@ my $target_map = {
'./rss' => 'NONE', # FIXME deal with a little later
'./serials' => 'INTRANET_CGI_DIR',
'./skel' => 'NONE',
'./skel/var/log/koha' => { target => 'KOHA_LOG_DIR', trimdir => -1 },
'./skel/var/run/koha/zebradb' => { target => 'ZEBRA_RUN_DIR', trimdir => -1 },
'./skel/var/lock/koha/zebradb/authorities' => { target => 'ZEBRA_LOCK_DIR', trimdir => 6 },
'./skel/var/lib/koha/zebradb/authorities/key' => { target => 'ZEBRA_DATA_DIR', trimdir => 6 },
@ -973,9 +974,8 @@ install :: all install_koha set_koha_ownership
$install .= "set_koha_ownership ::\n";
if ($config{'INSTALL_MODE'} eq 'standard' and $config{'KOHA_USER'} ne "root") {
foreach my $key (sort keys %target_directories) {
$install .= "\t\$(NOECHO); chown -R $config{'KOHA_USER'}:$config{'KOHA_GROUP'} \$(KOHA_DEST_$key) \\\n";
$install .= "\tchown -R $config{'KOHA_USER'}:$config{'KOHA_GROUP'} \$(KOHA_DEST_$key)\n";
}
$install .= "\t\$(NOECHO) \$(NOOP)\n\n";
} else {
$install .= "\t\t\$(NOECHO) \$(NOOP)\n\n";
}

1
skel/var/log/koha/README

@ -0,0 +1 @@
Koha Apache logs
Loading…
Cancel
Save