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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user