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-10-20 19:47:25 +02:00
parent 6f0455d559
commit 346c4d5230

View file

@ -9,6 +9,13 @@
source _common.sh
source /usr/share/yunohost/helpers
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
ynh_change_url_nginx_config
#=================================================
# UPDATE A CONFIG FILE
#=================================================
@ -24,14 +31,7 @@ chown $app:$app "$install_dir/app/data/_data_/_default_/configs/application.ini"
#=================================================
ynh_script_progression --message="Applying SSO patch..." --weight=1
ynh_add_config --template="../conf/sso.php" --destination="$install_dir/index.php"
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
ynh_change_url_nginx_config
ynh_add_config --template="sso.php" --destination="$install_dir/index.php"
#=================================================
# END OF SCRIPT