Skip to content

Commit

Permalink
installer: fixed chown invocation; added skel for KOHA_LOG_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
Galen Charlton committed Dec 17, 2007
1 parent be79314 commit 5044c06
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down Expand Up @@ -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";
}
Expand Down
1 change: 1 addition & 0 deletions skel/var/log/koha/README
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Koha Apache logs

0 comments on commit 5044c06

Please sign in to comment.