Bugzilla – Attachment 6188 Details for
Bug 7008
Sometimes zebra needs a tmp directory that it doesn't create itself
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 7008 - create tmp dir for zebra
Bug-7008---create-tmp-dir-for-zebra.patch (text/plain), 2.17 KB, created by
Mason James
on 2011-11-04 09:23:12 UTC
(
hide
)
Description:
Bug 7008 - create tmp dir for zebra
Filename:
MIME Type:
Creator:
Mason James
Created:
2011-11-04 09:23:12 UTC
Size:
2.17 KB
patch
obsolete
>From 77b4d875b65291edcbb8387b79d75b2522a8bd9e Mon Sep 17 00:00:00 2001 >From: Robin Sheat <robin@catalyst.net.nz> >Date: Wed, 12 Oct 2011 18:29:28 +1300 >Subject: [PATCH] Bug 7008 - create tmp dir for zebra >Content-Type: text/plain; charset="utf-8" >http://koha-community.org > >Sometimes zebra needs a tmp dir in order to work. This ensures that it >is created both by koha-create-dirs in the packages, and by >rebuild_zebra when it runs. >-- > >tested ok, signing off >Signed-off-by: Mason James <mtj@kohaaloha.com> >--- > debian/scripts/koha-create-dirs | 5 +++++ > misc/migration_tools/rebuild_zebra.pl | 2 +- > 2 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/debian/scripts/koha-create-dirs b/debian/scripts/koha-create-dirs >index 7daf57a..06b7bff 100755 >--- a/debian/scripts/koha-create-dirs >+++ b/debian/scripts/koha-create-dirs >@@ -42,10 +42,15 @@ do > userdir "$name" "/etc/koha/sites/$name" > userdir "$name" "/var/lib/koha/$name" > userdir "$name" "/var/lib/koha/$name/authorities" >+ userdir "$name" "/var/lib/koha/$name/authorities/key" >+ userdir "$name" "/var/lib/koha/$name/authorities/register" >+ userdir "$name" "/var/lib/koha/$name/authorities/shadow" >+ userdir "$name" "/var/lib/koha/$name/authorities/tmp" > userdir "$name" "/var/lib/koha/$name/biblios" > userdir "$name" "/var/lib/koha/$name/biblios/key" > userdir "$name" "/var/lib/koha/$name/biblios/register" > userdir "$name" "/var/lib/koha/$name/biblios/shadow" >+ userdir "$name" "/var/lib/koha/$name/biblios/tmp" > userdir "$name" "/var/lock/koha/$name" > userdir "$name" "/var/lock/koha/$name/authorities" > userdir "$name" "/var/lock/koha/$name/biblios" >diff --git a/misc/migration_tools/rebuild_zebra.pl b/misc/migration_tools/rebuild_zebra.pl >index 6fa6501..46b054d 100755 >--- a/misc/migration_tools/rebuild_zebra.pl >+++ b/misc/migration_tools/rebuild_zebra.pl >@@ -175,7 +175,7 @@ if ($keep_export) { > sub check_zebra_dirs { > my ($base) = shift() . '/'; > my $needed_repairing = 0; >- my @dirs = ( '', 'key', 'register', 'shadow' ); >+ my @dirs = ( '', 'key', 'register', 'shadow', 'tmp' ); > foreach my $dir (@dirs) { > my $bdir = $base . $dir; > if (! -d $bdir) { >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 7008
:
5847
|
6186
| 6188