[koha-commits] main Koha release repository branch new/bug_6008 created. v3.06.00-639-g2b2a034
Git repo owner
gitmaster at git.koha-community.org
Mon Feb 27 15:38:50 CET 2012
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".
The branch, new/bug_6008 has been created
at 2b2a034ca8f36b3b1d4dc9de8ca5f28bf40a7ca2 (commit)
- Log -----------------------------------------------------------------
commit 2b2a034ca8f36b3b1d4dc9de8ca5f28bf40a7ca2
Author: Salvador Zaragoza Rubio <salvazm at masmedios.com>
Date: Wed Mar 30 17:40:43 2011 +0200
Bug 6008 - Locating mysql/psql commands on Installer.pm
In Installer.pm when is looking for the system command to dump a file into the database
it might fail if the web user doesn't have it in its path. So we add before a search with
"which" and "whereis" commands, if they fail the command is itself without path.
E.g.: with OpenBSD 4.8 the web user "www" doesn't have the path to the installed mysql bin:
/usr/local/bin/mysql and fails in the web installer.
Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
Seems to work fine, has a good default for if it fails to find that
path
Signed-off-by: Paul Poulain <paul.poulain at biblibre.com>
tested on my linux box, no visible change, worked before, work after. Will hopefully improve behaviour for OpenBSD
-----------------------------------------------------------------------
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list