Update ldap config also on update

This commit is contained in:
Josué Tille 2024-01-24 22:58:29 +01:00
parent 0dbe2ed538
commit 39be9a3b28
No known key found for this signature in database
GPG Key ID: 5F259226AD51F2F5

View File

@ -98,6 +98,10 @@ ynh_secure_remove --file="$install_dir/templates"
ynh_add_config --template=app.ini --destination="$install_dir/custom/conf/app.ini"
_set_permissions
# Update ldap config
ynh_replace_string --match_string=__APP__ --replace_string="$app" --target_file=../conf/login_source.sql
ynh_mysql_connect_as "$db_user" "$db_pwd" "$db_name" < ../conf/login_source.sql
#=================================================
# REAPPLY SYSTEM CONFIGURATIONS
#=================================================