mirror of
https://github.com/YunoHost-Apps/friendica_ynh.git
synced 2024-09-03 18:36:14 +02:00
fix domain name change
This commit is contained in:
parent
a7e5035f25
commit
57e53c571d
1 changed files with 9 additions and 0 deletions
|
@ -16,6 +16,15 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
|||
|
||||
ynh_change_url_nginx_config
|
||||
|
||||
#=================================================
|
||||
# MODIFY URL IN FRIENDICA CONF
|
||||
#=================================================
|
||||
|
||||
ynh_print_info --message="Updating the Friendica config..."
|
||||
|
||||
ynh_replace_string --match_string="'url' => 'https://.*'," --replace_string="'url' => 'https://$domain'," --target_file="$install_dir/config/local.config.php"
|
||||
ynh_store_file_checksum --file="$install_dir/config/local.config.php"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue