1
0
Fork 0
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:
Hayden 2024-02-12 09:31:53 -08:00 committed by GitHub
parent c6017f4e39
commit a0eefa185c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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