Commit dca0d8f7 authored by Natanael Copa's avatar Natanael Copa

main/transmission: move transmission homedir to /var/lib

fixes #1119
parent 6b072949
# Maintainer:Carlo Landmeter
pkgname=transmission
pkgver=2.52
pkgrel=0
pkgrel=1
pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.tansmissionbt.com"
install="transmission-daemon.pre-install"
install="transmission-daemon.pre-install transmission-daemon.post-upgrade"
arch="all"
license="MIT"
depends=
......@@ -70,5 +70,5 @@ cli() {
}
md5sums="9490ed97a03f7b8b1ac8b0822c3dce92 transmission-2.52.tar.bz2
37c927164a4443db004345c7e19f7795 transmission-daemon.initd
b44e7e7bcfb7fd1c59b3e1191d4dabb9 transmission-daemon.initd
5caf0fc25dfd67c61627f1e0313f4245 transmission-daemon.confd"
......@@ -11,8 +11,8 @@ description_reload="Reload transmission-daemon settings"
rundir=${rundir:-/var/run/transmission}
pidfile=${pidfile:-${rundir}/transmission.pid}
config_dir=${config_dir:-/var/transmission/config}
download_dir=${download_dir:-/var/transmission/downloads}
config_dir=${config_dir:-/var/lib/transmission/config}
download_dir=${download_dir:-/var/lib/transmission/downloads}
logfile=${logfile:-/var/log/transmission/transmission.log}
runas_user=${runas_user:-transmission:transmission}
......
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment