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:
parent
2e4c4564ff
commit
757f58eada
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue