From ccc5ba1fb51acdd60386c2b5176594e69a73e50f Mon Sep 17 00:00:00 2001 From: anmol26s <5068843+anmol26s@users.noreply.github.com> Date: Thu, 23 Apr 2020 04:30:59 +0530 Subject: [PATCH] fix mysql --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index dee2fff..21ea4d3 100644 --- a/scripts/install +++ b/scripts/install @@ -210,7 +210,7 @@ ynh_store_file_checksum --file="$final_path/config/local.config.php" # Run composer (cd $final_path && sudo php bin/composer.phar install) (cd $final_path && sudo bin/console config system addon ldapauth) -ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" <<< "INSERT INTO `addon` (`id`, `name`, `version`, `installed`, `hidden`, `timestamp`, `plugin_admin`) VALUES (NULL, 'ldapauth', '', '1', '0', '1', '0');" +ynh_mysql_connect_as "$db_name" "$db_pwd" "$db_name" <<< INSERT INTO `addon` (`id`, `name`, `version`, `installed`, `hidden`, `timestamp`, `plugin_admin`) VALUES (NULL, 'ldapauth', '', '1', '0', '1', '0'); chown -R $app: $final_path #=================================================