fetchtorrent: use Transmission 4

I don’t know why setting `--config-dir` breaks the finish script
with Transmission 4, but I don’t really feel like spending more
time investigating than I already did. It does still respect the
passed settings, since we were passing the default location anyway.
This commit is contained in:
Emily
2025-10-28 18:14:05 +00:00
parent 548659bd06
commit f8b2fc54c8
+2 -3
View File
@@ -1,7 +1,7 @@
{
lib,
runCommand,
transmission_3_noSystemd,
transmission_4,
rqbit,
writeShellScript,
formats,
@@ -97,7 +97,7 @@ runCommand name
]
++ (
if (backend == "transmission") then
[ transmission_3_noSystemd ]
[ transmission_4 ]
else if (backend == "rqbit") then
[ rqbit ]
else
@@ -132,7 +132,6 @@ runCommand name
--portmap \
--finish ${transmissionFinishScript} \
--download-dir "$downloadedDirectory" \
--config-dir "$HOME"/.config/transmission \
"$url"
''
else