Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

installer: fixed chown invocation; added skel for KOHA_LOG_DIR

  • Loading branch information...
commit 5044c06592414f01378717dc430f6ddf7037d7da 1 parent be79314
Galen Charlton authored
Showing with 3 additions and 2 deletions.
  1. +2 −2 Makefile.PL
  2. +1 −0  skel/var/log/koha/README
View
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";
}
View
1  skel/var/log/koha/README
@@ -0,0 +1 @@
+Koha Apache logs
Please sign in to comment.
Something went wrong with that request. Please try again.