This commit is contained in:
Éric Gaspar
2023-06-05 11:03:43 +02:00
parent 14ffd922bc
commit 8df733cb88
5 changed files with 33 additions and 39 deletions
+2 -2
View File
@@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers
#=================================================
# MODIFY URL IN NGINX CONF
#=================================================
ynh_script_progression --message="Updating NGINX web server configuration..."
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
ynh_change_url_nginx_config
@@ -21,7 +21,7 @@ ynh_change_url_nginx_config
#=================================================
# MODIFY A CONFIG FILE
#=================================================
ynh_script_progression --message="Modifying a config file..."
ynh_script_progression --message="Modifying a config file..." --weight=1
ynh_replace_string --match_string="$old_domain$old_path" --replace_string="$new_domain$new_path" --target_file="$final_path/.env"
ynh_store_file_checksum --file="$final_path/.env"