diff --git a/scripts/install b/scripts/install index 21ea4d3..6317dbf 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 #=================================================