mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update change_url
This commit is contained in:
parent
795dc7d0a7
commit
4d7c9a23cd
1 changed files with 1 additions and 6 deletions
|
@ -111,12 +111,7 @@ fi
|
||||||
# CONFIGURE CONFIG.JSON FILE
|
# CONFIGURE CONFIG.JSON FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
domain="$new_domain"
|
ynh_replace_string --match_string="\"url\": \".*\"" --replace_string="\"url\": \"https://${new_domain}${new_path}\"" --target_file="$final_path/config.json"
|
||||||
path="$new_path"
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.json" --destination="$final_path/config.json"
|
|
||||||
chmod 666 "$final_path/config.json"
|
|
||||||
chown $app "$final_path/config.json"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALISATION
|
# GENERIC FINALISATION
|
||||||
|
|
Loading…
Reference in a new issue