mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-23 19:41:36 +01:00
Update ldap config also on update
This commit is contained in:
parent
0dbe2ed538
commit
39be9a3b28
@ -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
|
||||
#=================================================
|
||||
|
Loading…
Reference in New Issue
Block a user