summaryrefslogtreecommitdiff
path: root/extra/transmission
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-26 18:59:42 -0300
committerNicolás Reynolds <fauno@kiwwwi.com.ar>2012-09-26 18:59:42 -0300
commit959510fa239cdcdaf0d8d3875cd2aaf652d74241 (patch)
tree0afdc6c433cbf03de1656e5d2557838af7098214 /extra/transmission
parent37c6b66933676a18529b4e647d1a79a626900512 (diff)
parent483f8b3ac46ac2d40e8cc2f9c25365741bebc791 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: community-staging/happy/PKGBUILD community-staging/haskell-quickcheck/PKGBUILD community/mingw32-gcc-base/PKGBUILD core/mlocate/PKGBUILD core/procps-ng/PKGBUILD core/sysvinit/PKGBUILD elementary/gtk-engine-equinox/PKGBUILD extra/audacious/PKGBUILD extra/libsigc++/PKGBUILD extra/postgresql-old-upgrade/PKGBUILD extra/qt/PKGBUILD extra/tftp-hpa/PKGBUILD extra/transmission/PKGBUILD gnome-unstable/at-spi2-atk/PKGBUILD gnome-unstable/at-spi2-core/PKGBUILD gnome-unstable/atk/PKGBUILD gnome-unstable/clutter/PKGBUILD gnome-unstable/evolution-data-server/PKGBUILD gnome-unstable/evolution/PKGBUILD gnome-unstable/gjs/PKGBUILD gnome-unstable/glib-networking/PKGBUILD gnome-unstable/glib2/PKGBUILD gnome-unstable/gnome-desktop/PKGBUILD gnome-unstable/gnome-online-accounts/PKGBUILD gnome-unstable/gnome-settings-daemon/PKGBUILD gnome-unstable/gnome-themes-standard/PKGBUILD gnome-unstable/gobject-introspection/PKGBUILD gnome-unstable/gtk3/PKGBUILD gnome-unstable/gtkhtml4/PKGBUILD gnome-unstable/gvfs/PKGBUILD gnome-unstable/libsoup/PKGBUILD gnome-unstable/nautilus/PKGBUILD gnome-unstable/vala/PKGBUILD gnome-unstable/webkitgtk3/PKGBUILD libre/libretools/PKGBUILD multilib/lib32-gtk2/PKGBUILD multilib/lib32-qt/PKGBUILD multilib/lib32-util-linux/PKGBUILD testing/mlocate/PKGBUILD testing/openmpi/PKGBUILD testing/run-parts/PKGBUILD testing/systemd/PKGBUILD testing/transmission/PKGBUILD testing/transmission/transmission-cli.install testing/transmission/transmission.systemd
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 2cfd6a06b..a4ad2997d 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' 'mips64el')
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
}