From 8f0a971364bf8fee254a13a94adf2bfa9173e804 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 24 Sep 2012 00:22:59 -0700 Subject: Mon Sep 24 00:22:58 PDT 2012 --- extra/transmission/PKGBUILD | 4 ++-- extra/transmission/transmission-cli.install | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'extra/transmission') diff --git a/extra/transmission/PKGBUILD b/extra/transmission/PKGBUILD index dc5bca7f2..f0af5797e 100644 --- a/extra/transmission/PKGBUILD +++ b/extra/transmission/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 165472 2012-08-20 13:29:51Z tomegun $ +# $Id: PKGBUILD 166956 2012-09-23 09:55:03Z tomegun $ # Maintainer : Ionut Biru pkgbase=transmission pkgname=('transmission-cli' 'transmission-gtk' 'transmission-qt') pkgver=2.61 -pkgrel=3 +pkgrel=4 arch=('i686' 'x86_64') url="http://www.transmissionbt.com/" license=('MIT') diff --git a/extra/transmission/transmission-cli.install b/extra/transmission/transmission-cli.install index 68df89498..8ab275e61 100644 --- a/extra/transmission/transmission-cli.install +++ b/extra/transmission/transmission-cli.install @@ -3,14 +3,15 @@ post_install() { If you want to run the Transmission daemon at boot, add transmissiond to the DAEMONS array in /etc/rc.conf. - _EOF + +post_upgrade +passwd -l transmission &>/dev/null } post_upgrade() { # create user/group that the daemon will run as by default, do not delete this on uninstall, as it will own files getent group transmission >/dev/null || groupadd -g 169 transmission getent passwd transmission >/dev/null || useradd -c 'Transmission BitTorrent Client' -u 169 -g transmission -b '/var/lib' -m -s /bin/false transmission - passwd -l transmission &>/dev/null systemd-tmpfiles --create transmission.conf } -- cgit v1.2.3-54-g00ecf