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

30 lines
956 B
Text
Raw Normal View History

2022-04-21 18:30:00 +02:00
#!/bin/bash
#=================================================
# GENERIC STARTING
#=================================================
# IMPORT GENERIC HELPERS
#=================================================
source /usr/share/yunohost/helpers
2023-08-04 16:13:47 +02:00
#=================================================
# SETUP SSO
#=================================================
ynh_script_progression --message="Applying SSO patch..." --weight=1
2023-08-05 00:56:55 +02:00
ynh_add_config --template="../conf/sso.php" --destination="$install_dir/index.php"
2023-08-04 16:13:47 +02:00
2022-04-21 18:30:00 +02:00
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
2022-04-23 09:10:45 +02:00
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
2022-04-21 18:30:00 +02:00
2023-02-21 18:18:38 +01:00
ynh_change_url_nginx_config
2022-04-21 18:30:00 +02:00
#=================================================
# END OF SCRIPT
#=================================================
2022-04-23 09:10:45 +02:00
ynh_script_progression --message="Change of URL completed for $app" --last