transmission: fix directory creation in init script
authorDaniel Golle <daniel@makrotopia.org>
Sun, 5 Jan 2020 09:45:33 +0000 (11:45 +0200)
committerDaniel Golle <daniel@makrotopia.org>
Sun, 5 Jan 2020 09:52:52 +0000 (11:52 +0200)
commit2cce710984eb1faef099817936a2ff2b7a33eacb
tree1cf30e86c267ca20a9b5a9c7bff1893f940c5af4
parent609109fa97569c16e84c52d9b6b388e441145e27
transmission: fix directory creation in init script

Things were done in the wrong order, leading to config_dir not being
chown'ed and subdirectories not being created in case of download_dir
being inside config_dir.

Fixes: 609109fa9 ("transmission: add seccomp filter and improve jail")
Reported-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
net/transmission/files/transmission.init