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

Merge pull request #47 from YunoHost-Apps/testing

Fix change_url
This commit is contained in:
yalh76 2019-04-12 02:55:18 +02:00 committed by GitHub
commit 182e24a525
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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": [

View file

@ -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

View file

@ -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"
#=================================================