aboutsummaryrefslogtreecommitdiffstats
path: root/main/transmission/transmission-daemon.post-upgrade
blob: e0aaa8e022bef5d05b35f435b40222dc11a189a9 (plain)
1
2
3
4
5
6
7
8
9
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