From 2a78c87dad6e0c8ce2299681ed4c42094dd26847 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Fri, 21 May 2021 19:44:28 +0530 Subject: [PATCH] base path --- scripts/install | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/install b/scripts/install index 0c50e47..8c98725 100755 --- a/scripts/install +++ b/scripts/install @@ -103,6 +103,13 @@ ynh_script_progression --message="Configuring a systemd service..." --time --wei ynh_replace_string --match_string=__PORT__ --replace_string="$port" --target_file="../conf/systemd.service" ynh_add_systemd_config +#================================================= +# ADD A CONFIGURATION +#================================================= +ynh_script_progression --message="Configuring Jackett..." --weight=2 + +ynh_replace_string --match_string='"BasePathOverride": null,' --replace_string=""BasePathOverride": "$path_url,"" --target_file="$final_path/.config/Jackett/ServerConfig.jso" + #================================================= # GENERIC FINALIZATION #=================================================