diff options
author | Graeme Gregory <dp@xora.org.uk> | 2009-08-15 16:52:47 +0100 |
---|---|---|
committer | Graeme Gregory <dp@xora.org.uk> | 2009-08-15 16:54:10 +0100 |
commit | b4147042b4d8312ae31f8bea4536fcc9d02460a8 (patch) | |
tree | 826e765ac63b70e5de392faea523227053cd6eb4 /recipes | |
parent | 55afc69df3bedfc5d5c7d73a7debc8307edf40a6 (diff) |
transmission_1.73.bb : fix a couple of typos to do with localstatedir and
make /etc/default/transmission-daemon a conffile
Diffstat (limited to 'recipes')
-rw-r--r-- | recipes/transmission/transmission_1.73.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/transmission/transmission_1.73.bb b/recipes/transmission/transmission_1.73.bb index 9baa976f00..1601f09ec2 100644 --- a/recipes/transmission/transmission_1.73.bb +++ b/recipes/transmission/transmission_1.73.bb @@ -3,7 +3,7 @@ SECTION = "network" HOMEPAGE = "www.transmissionbt.com/" DEPENDS = "gtk+ gnutls openssl gettext libtool intltool-native curl glib-2.0-native" LICENSE = "GPLv2" -PR = "r1" +PR = "r2" SRC_URI = "http://mirrors.m0k.org/transmission/files/transmission-${PV}.tar.bz2 \ file://init \ file://config" @@ -22,12 +22,13 @@ do_install_append() { } FILES_${PN} += "${datadir}/icons" +CONFFILES_${PN} = "${sysconfdir}/default/transmission-daemon" # No need for online check, since update-rc.d will prepend it to here pkg_postinst_${PN}() { grep -q transmission ${sysconfdir}/group || addgroup transmission -grep -q transmission ${sysconfdir}/passwd || adduser -h ${localstatedir}/lib/transmission -S -D -G transmission -s ${base_bindir}/false transmission -chown -R transmission:transmission /var/lib/transmission/ +grep -q transmission ${sysconfdir}/passwd || adduser -h ${localstatedir}/lib/transmission-daemon -S -D -G transmission -s ${base_bindir}/false transmission +chown -R transmission:transmission /var/lib/transmission-daemon/ } pkg_postrm_${PN}() { |