diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-22 09:41:38 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-22 09:41:38 +0000 |
commit | dca0d8f72ebf75f3e425b356dafd93babde34a0d (patch) | |
tree | def73fe933e46e01aae04226a114fa68a707d431 /main/transmission/transmission-daemon.post-upgrade | |
parent | 6b0729497c5bd67e6f5a41859cc217b9c0f346f3 (diff) | |
download | aports-dca0d8f72ebf75f3e425b356dafd93babde34a0d.tar.bz2 aports-dca0d8f72ebf75f3e425b356dafd93babde34a0d.tar.xz |
main/transmission: move transmission homedir to /var/lib
fixes #1119
Diffstat (limited to 'main/transmission/transmission-daemon.post-upgrade')
-rw-r--r-- | main/transmission/transmission-daemon.post-upgrade | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/main/transmission/transmission-daemon.post-upgrade b/main/transmission/transmission-daemon.post-upgrade new file mode 100644 index 0000000000..e0aaa8e022 --- /dev/null +++ b/main/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 + |