summaryrefslogtreecommitdiff
path: root/extra/transmission
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-09-24 00:22:59 -0700
committerroot <root@rshg054.dnsready.net>2012-09-24 00:22:59 -0700
commit8f0a971364bf8fee254a13a94adf2bfa9173e804 (patch)
tree8b25f3fa8cb2e7b6b61d26a667d5f6e3ad967b70 /extra/transmission
parenta7f8166c8968d3414378051d28dcfcc3e377837b (diff)
Mon Sep 24 00:22:58 PDT 2012
Diffstat (limited to 'extra/transmission')
-rw-r--r--extra/transmission/PKGBUILD4
-rw-r--r--extra/transmission/transmission-cli.install5
2 files changed, 5 insertions, 4 deletions
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 <ibiru@archlinux.org>
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
}