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

Update change_url

This commit is contained in:
Éric Gaspar 2023-12-08 14:33:10 +01:00
parent e1ae387abe
commit 887e68e8fb

View file

@ -21,10 +21,7 @@ ynh_change_url_nginx_config
#=================================================
ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="application.ini" --destination="$install_dir/app/data/_data_/_default_/configs/application.ini"
chmod 400 "$install_dir/app/data/_data_/_default_/configs/application.ini"
chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini"
ynh_replace_string --match_string='default_domain = "$domain"' --replace_string='default_domain = "$new_domain"' --target_file="$install_dir/app/data/_data_/_default_/configs/application.ini"
#=================================================
# SETUP SSO