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

Update change_url

This commit is contained in:
ericgaspar 2024-01-14 08:34:07 +01:00 committed by tituspijean
parent 2e4c4564ff
commit 757f58eada
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -31,9 +31,7 @@ ynh_change_url_nginx_config
# UPDATE CONFIGURATION FILE
#=================================================
ynh_add_config --template="config.xml" --destination="$data_dir/config.xml"
chmod 400 "$data_dir/config.xml"
chown $app:$app "$data_dir/config.xml"
ynh_replace_string --match_string="<UrlBase>$old_path</UrlBase>" --replace_string="<UrlBase>$new_path</UrlBase>" --target_file="$data_dir/config.xml"
#=================================================
# GENERIC FINALISATION