From 2c05a88e2092278475b862b96d04d5d67cee4ea3 Mon Sep 17 00:00:00 2001 From: Dan Theisen Date: Tue, 10 Sep 2019 08:15:52 +0000 Subject: user/transmission: new package --- user/transmission/transmission-daemon.post-upgrade | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 user/transmission/transmission-daemon.post-upgrade (limited to 'user/transmission/transmission-daemon.post-upgrade') diff --git a/user/transmission/transmission-daemon.post-upgrade b/user/transmission/transmission-daemon.post-upgrade new file mode 100644 index 000000000..e0aaa8e02 --- /dev/null +++ b/user/transmission/transmission-daemon.post-upgrade @@ -0,0 +1,10 @@ +#!/bin/sh + +dir=/var/lib/transmission + +# rename config and create compat symlink +if [ -e "$dir"/.config ] && ! [ -e "$dir"/config ]; then + mv "$dir"/.config "$dir"/config + ln -s config "$dir"/.config +fi + -- cgit v1.2.3-70-g09d2