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

Update change_url

This commit is contained in:
Éric Gaspar 2023-06-14 14:32:12 +02:00
parent d2fa681592
commit 10119193f4

View file

@ -30,8 +30,10 @@ ynh_change_url_nginx_config
#==================================================
ynh_script_progression --message="Modifying configuration file…" --weight=1
ynh_delete_file_checksum --file="$install_dir/.env"
ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
#ynh_delete_file_checksum --file="$install_dir/.env"
#ynh_add_config --template="../conf/.env" --destination="$install_dir/.env"
sed -i "/DOMAIN=/c\DOMAIN=https://${new_domain}" $install_dir/.env
#=================================================
# GENERIC FINALISATION