From 399600b9bb93e6cd4ab4ecf09bc92c85ebbe26bb Mon Sep 17 00:00:00 2001 From: frju365 <19982894+frju365@users.noreply.github.com> Date: Sun, 10 Jun 2018 10:33:20 +0200 Subject: [PATCH] Update install --- scripts/install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index a7afd86..b590e7b 100644 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ ynh_replace_string "__ADMINPASS__" "$admin_pass" "$final_path/lstu.conf" ynh_replace_string "__ADMINHASH__" "$admin_hash" "$final_path/lstu.conf" ynh_replace_string "__DBNAME__" "$db_name" "$final_path/lstu.conf" ynh_replace_string "__DBPASS__" "$db_pwd" "$final_path/lstu.conf" -ynh_replace_string "__DBUSER__" "$db_user" "$final_path/lstu.conf" +ynh_replace_string "__DBUSER__" "$db_name" "$final_path/lstu.conf" secret=$(ynh_string_random 24) ynh_replace_string "__SECRET__" "$secret" "${final_path}/lstu.conf"