From 9e81f895791b95327bc5d82a9d7645246472dd30 Mon Sep 17 00:00:00 2001 From: rangi Date: Fri, 14 Jun 2002 10:47:29 +0000 Subject: [PATCH] Set the mysqldir to default to /usr if no other mysql dir is found, this means /usr/bin/mysql etc will work --- installer.pl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer.pl b/installer.pl index 8af6e28d3e..03edc8b99b 100644 --- a/installer.pl +++ b/installer.pl @@ -417,7 +417,9 @@ foreach my $mysql (qw(/usr/local/mysql $mysql=$mysqldir; } } - +if (!$mysqldir){ + $mysqldir='/usr'; +} print qq| To allow us to create the koha database please supply the mysql\'s root users password -- 2.39.5