From bd1d32ce16b10cb53f6eb76a6581cd286a60edaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Wed, 29 Mar 2023 19:17:52 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index 14df93e..0e78345 100755 --- a/scripts/install +++ b/scripts/install @@ -106,7 +106,7 @@ ynh_local_curl_csrf "/index.php?qa=admin&qa_1=general"\ ynh_replace_string --match_string="__ADMIN__" --replace_string="$admin" --target_file="../conf/ldap.sql" ynh_replace_string --match_string="__EMAIL__" --replace_string="$email" --target_file="../conf/ldap.sql" -ynh_mysql_connect_as --user="$db_user" --password="$db_pwd" < ../conf/ldap.sql +ynh_mysql_connect_as --database="$db_name" --user="$db_user" --password="$db_pwd" < ../conf/ldap.sql #================================================= # SECURE FILES AND DIRECTORIES