Hi, On 11/8/07, Chris Nighswonger <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] p: 1-888-564-2457 _______________________________________________ Koha-devel mailing list Koha-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/koha-devel