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:
parent
d2fa681592
commit
10119193f4
1 changed files with 4 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue