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": [ diff --git a/scripts/change_url b/scripts/change_url index ec0e4d5..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 dbc4a64..344d9cb 100755 --- a/scripts/install +++ b/scripts/install @@ -139,7 +139,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" #=================================================