diff options
Diffstat (limited to 'user/transmission/transmission-daemon.post-upgrade')
-rw-r--r-- | user/transmission/transmission-daemon.post-upgrade | 10 |
1 files changed, 10 insertions, 0 deletions
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 + |