From 7b3e6914f585df3617fdbed51a4b58005332f379 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 10 Apr 2019 05:27:15 +0200 Subject: [PATCH 1/3] fix change_url --- scripts/change_url | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/change_url b/scripts/change_url index ec0e4d5..16ca235 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -93,7 +93,7 @@ ynh_systemd_action --action=stop --service_name=$app # MODIFY A CONFIG FILE #================================================= -ynh_replace_string "host =.*" "host =https://$new_domain$new_path" "$final_path/config.ini" +ynh_replace_string "host =.*" "host = https://$new_domain$new_path" "$final_path/config.ini" #================================================= # START SERVICE From 356b7bbf345e0eee50c0e2122bef5a1dbac8d455 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Wed, 10 Apr 2019 05:33:43 +0200 Subject: [PATCH 2/3] Fix change_url --- scripts/change_url | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/change_url b/scripts/change_url index 16ca235..2d21816 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -93,7 +93,7 @@ ynh_systemd_action --action=stop --service_name=$app # MODIFY A CONFIG FILE #================================================= -ynh_replace_string "host =.*" "host = https://$new_domain$new_path" "$final_path/config.ini" +ynh_replace_string "host =.*" "host = https://$new_domain" "$final_path/config.ini" #================================================= # START SERVICE diff --git a/scripts/install b/scripts/install index dd5b570..d59ac51 100755 --- a/scripts/install +++ b/scripts/install @@ -138,7 +138,7 @@ ynh_replace_string "__DBNAME__" "$db_name" "$final_path/config.ini" ynh_replace_string "__DBUSER__" "$db_name" "$final_path/config.ini" ynh_replace_string "__DBPWD__" "$db_pwd" "$final_path/config.ini" ynh_replace_string "__PORT__" "$port" "$final_path/config.ini" -ynh_replace_string "__DOMAIN_URL__" "https://$domain$path_url" "$final_path/config.ini" +ynh_replace_string "__DOMAIN_URL__" "https://$domain" "$final_path/config.ini" ynh_replace_string "__SINGLEUSER__" "$single_user" "$final_path/config.ini" #================================================= From 2fe0e0bbbdda082a062f9faf306aca3ee910103b Mon Sep 17 00:00:00 2001 From: yalh76 Date: Fri, 12 Apr 2019 02:54:28 +0200 Subject: [PATCH 3/3] update version --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index 6c576eb..64ccf4b 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "For starting a minimalist, federated blog — or an entire community.", "fr": "Permet de créer un blog fédéré minimaliste ou une communauté entière." }, - "version": "0.8.1~ynh4", + "version": "0.8.1~ynh5", "url": "https://writefreely.org", "license": "AGPL-3.0-or-later", "maintainer": [