1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00

Fix administrator's mail

This commit is contained in:
Jimmy Monin 2017-09-10 09:22:44 +02:00
parent 10520c164c
commit 922ef648cc

View file

@ -131,7 +131,8 @@ ynh_app_setting_set $app admin_pwd "$adm_pwd"
# Configure piwigo via curl # Configure piwigo via curl
sleep 5s 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 # Change local config
sudo cp ../conf/config.inc.php $final_path/local/config/ sudo cp ../conf/config.inc.php $final_path/local/config/