koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Koha-devel] Preposed sql script filename change


From: Galen Charlton
Subject: Re: [Koha-devel] Preposed sql script filename change
Date: Thu, 8 Nov 2007 17:27:53 -0500

Hi,

On 11/8/07, Chris Nighswonger <address@hidden> wrote:
[snip]
>   In the process of the port, I have needed to distinguish between sql
> files for MySQL and PostgreSQL. I have been doing this by renaming sql
> files after this method:
>
> foo_mysql.sql
> foo_pg.sql
>
> This allows me to do things like '~ /_mysql\.sql/' etc. and import the
> correct flavor of sql.

I would suggest setting up a directory tree for each DB engine, e.g.,

installer/data/mysql [../en/mandatory/..., e.g.]
installer/data/postgres

That way, install.pl only needs to point to the correct directory,
instead of munging each file name, and we don't have to rename the
existing SQL scripts, just move them.

Regards,

Galen
-- 
Galen Charlton
Koha Application Developer
LibLime
address@hidden
p: 1-888-564-2457




reply via email to

[Prev in Thread] Current Thread [Next in Thread]