From 922ef648cc271f347bf5921eac252c19dbbd37cc Mon Sep 17 00:00:00 2001 From: Jimmy Monin Date: Sun, 10 Sep 2017 09:22:44 +0200 Subject: [PATCH] Fix administrator's mail --- scripts/install | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install b/scripts/install index c4fc9cb..5e34e2d 100644 --- a/scripts/install +++ b/scripts/install @@ -131,7 +131,8 @@ ynh_app_setting_set $app admin_pwd "$adm_pwd" # Configure piwigo via curl sleep 5s -ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$admin@$domain" +mail="$(ynh_user_get_info $admin mail)" +ynh_local_curl "/install.php?language=$applanguage" "install=true" "dbuser=$db_user" "dbpasswd=$db_pwd" "dbname=$db_name" "admin_name=$admin" "admin_pass1=$adm_pwd" "admin_pass2=$adm_pwd" "admin_mail=$mail" # Change local config sudo cp ../conf/config.inc.php $final_path/local/config/