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

21 lines
534 B
Bash

#!/bin/bash
source _common.sh
source /usr/share/yunohost/helpers
# Check if the new path stay /SOGo if not exit
if [[ $path != "/SOGo" ]]; then
ynh_die "You can't use an other path than '/SOGo'"
fi
#=================================================
ynh_script_progression "Updating NGINX configuration..."
ynh_config_change_url_nginx
config_nginx
#=================================================
# END OF SCRIPT
#=================================================
ynh_script_progression "Change of URL completed for $app"