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