BUGFIX: Handle etc/zebradb tree

Signed-off-by: Chris Cormack <crc@liblime.com>
Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
MJ Ray 2007-10-05 16:37:38 -05:00 committed by Joshua Ferraro
parent a9ca523ba0
commit aeb17d6880

View file

@ -239,9 +239,11 @@ etc files are copied to /usr/share/koha/etc/
=cut
# Misc etc to koha/etc
foreach my $src (glob("etc/*")) {
foreach my $src (glob("etc/zebradb/*/*/*"),glob("etc/zebradb/*/*"),glob("etc/zebradb/*"),glob("etc/*")) {
if (-f $src) {
$result{$src} = '$(PREFIX)/share/koha/'.$src;
}
}
return \%result;