From b4147042b4d8312ae31f8bea4536fcc9d02460a8 Mon Sep 17 00:00:00 2001 From: Graeme Gregory Date: Sat, 15 Aug 2009 16:52:47 +0100 Subject: transmission_1.73.bb : fix a couple of typos to do with localstatedir and make /etc/default/transmission-daemon a conffile --- recipes/transmission/transmission_1.73.bb | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'recipes') 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}() { -- cgit v1.2.3