From 66c326b6d65388e9f1003715ad9675505f01f9d2 Mon Sep 17 00:00:00 2001 From: davidovski Date: Fri, 3 Jun 2022 13:05:13 +0100 Subject: added porting from alpine linux --- repo/transmission/transmission-daemon.post-upgrade | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 repo/transmission/transmission-daemon.post-upgrade (limited to 'repo/transmission/transmission-daemon.post-upgrade') diff --git a/repo/transmission/transmission-daemon.post-upgrade b/repo/transmission/transmission-daemon.post-upgrade new file mode 100644 index 0000000..e0aaa8e --- /dev/null +++ b/repo/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.1