mirror of
https://github.com/YunoHost-Apps/jackett_ynh.git
synced 2024-09-03 19:26:28 +02:00
fixed file path
This commit is contained in:
parent
ec6709fce0
commit
b80a5694ea
1 changed files with 1 additions and 2 deletions
|
@ -113,9 +113,8 @@ ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" --l
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||||
|
|
||||||
ynh_replace_string --match_string="BasePathOverride": null, --replace_string="BasePathOverride": "$path_url", --target_file="$final_path/.config/Jackett/ServerConfig.json"
|
|
||||||
target_string=$(echo \"BasePathOverride\": \"$path_url\")
|
target_string=$(echo \"BasePathOverride\": \"$path_url\")
|
||||||
sed --in-place "s@\"BasePathOverride\": null@${target_string}@g" ServerConfig.json
|
sed --in-place "s@\"BasePathOverride\": null@${target_string}@g" "$final_path/.config/Jackett/ServerConfig.json"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# GENERIC FINALIZATION
|
# GENERIC FINALIZATION
|
||||||
|
|
Loading…
Reference in a new issue