aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraeme Gregory <dp@xora.org.uk>2009-08-15 16:52:47 +0100
committerGraeme Gregory <dp@xora.org.uk>2009-08-15 16:52:47 +0100
commita85dd183c48924e67647a32a03b884471a174139 (patch)
treecb56b6920cc434f392bc914933e1a69fecfceb2e
parentb9aba715404627590e9d406eda19d3fb6eb30aa4 (diff)
downloadopenembedded-xora/angstrom-srcpv.zip
openembedded-xora/angstrom-srcpv.tar.gz
openembedded-xora/angstrom-srcpv.tar.bz2
transmission_1.73.bb : fix a couple of typos to do with localstatedir andxora/angstrom-srcpv
make /etc/default/transmission-daemon a conffile
-rw-r--r--recipes/transmission/transmission_1.73.bb7
1 files changed, 4 insertions, 3 deletions
diff --git a/recipes/transmission/transmission_1.73.bb b/recipes/transmission/transmission_1.73.bb
index 9baa976..1601f09 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}() {