From 3929f4f4b4abd413734cf7833e2ef57ea7890221 Mon Sep 17 00:00:00 2001 From: anmol26s Date: Sat, 1 Sep 2018 21:52:29 +0530 Subject: [PATCH] Wrong value for db error fixed in install --- scripts/install | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/install b/scripts/install index b58ab77..7ab61c3 100755 --- a/scripts/install +++ b/scripts/install @@ -101,9 +101,9 @@ ynh_app_setting_set $app db_name $db_name ynh_mysql_setup_db $db_name $db_name # Adding the details of the database to the config file -ynh_replace_string "__dbuser__" "$db_name@g" "../conf/config.ini.php" -ynh_replace_string "__dbpass__" "$db_pwd@g" "../conf/config.ini.php" -ynh_replace_string "__dbname__" "$db_name@g" "../conf/config.ini.php" +ynh_replace_string "__dbuser__" "$db_name" "../conf/config.ini.php" +ynh_replace_string "__dbpass__" "$db_pwd" "../conf/config.ini.php" +ynh_replace_string "__dbname__" "$db_name" "../conf/config.ini.php" # Copy the config file to the final path sudo cp ../conf/config.ini.php $final_path/data/.