author | Tom Gundersen
<tomegun@archlinux.org> 2012-09-21 20:29:18 UTC |
committer | Tom Gundersen
<tomegun@archlinux.org> 2012-09-21 20:29:18 UTC |
parent | 9c1ead7ea902389887bcd31b7b54f537a58978f1 |
PKGBUILD | +1 | -1 |
transmission-cli.install | +3 | -2 |
diff --git a/PKGBUILD b/PKGBUILD index f5832ec..57fd49b 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -3,7 +3,7 @@ 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/transmission-cli.install b/transmission-cli.install index 68df894..8ab275e 100644 --- a/transmission-cli.install +++ b/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 }