mirror of
https://github.com/YunoHost-Apps/xbackbone_ynh.git
synced 2024-09-03 19:15:53 +02:00
Update change_url (unfinished, dont test yet)
This commit is contained in:
parent
c6017f4e39
commit
a0eefa185c
1 changed files with 11 additions and 0 deletions
|
@ -16,6 +16,17 @@ ynh_script_progression --message="Updating NGINX web server configuration..." --
|
|||
|
||||
ynh_change_url_nginx_config
|
||||
|
||||
#
|
||||
# MODIFY URL IN APP CONFIG
|
||||
#
|
||||
ynh_script_progression --message="Updating app configuration..." --weight=1
|
||||
|
||||
# Try a sed command? nowhere near finished I'll finish it soon enough
|
||||
if [ "$new_path" == "/" ] && [ "$old_path" == "/" ]; then
|
||||
sed 's/${old_domain//\//\\\/}/${new_domain//\//\\\/}/g'
|
||||
else
|
||||
sed 's/${old_domain//\//\\\/}/
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue