summaryrefslogtreecommitdiff
path: root/recipes/transmission
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2009-05-18 09:39:22 +0200
committerKoen Kooi <koen@openembedded.org>2009-05-18 09:39:22 +0200
commitdba4943a54c97d1479b60ff05a6f36aee91082ee (patch)
tree00d2ed39d40c6424b5299c7ad1d165b13d93756e /recipes/transmission
parent4dde753d39367674125634dde61715e8a5ce4870 (diff)
transmission: update-rc.d handles online check, so add a note saying that, fix packaging
Diffstat (limited to 'recipes/transmission')
-rw-r--r--recipes/transmission/transmission_1.40.bb9
-rw-r--r--recipes/transmission/transmission_1.61.bb11
2 files changed, 4 insertions, 16 deletions
diff --git a/recipes/transmission/transmission_1.40.bb b/recipes/transmission/transmission_1.40.bb
index 47d674941a..c40939fd3b 100644
--- a/recipes/transmission/transmission_1.40.bb
+++ b/recipes/transmission/transmission_1.40.bb
@@ -17,11 +17,8 @@ do_install_append() {
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/transmission
}
+# No need for online check, since update-rc.d will prepend it to here
pkg_postinst_${PN}() {
-#!/bin/sh
-if [ "x$D" != "x" ] ; then
- exit 1
-fi
grep -q transmission ${sysconfdir}/group || addgroup transmission
grep -q transmission ${sysconfdir}/passwd || adduser -h /home/transmission -S -D -G transmission -s ${base_bindir}/false transmission
mkdir -p /home/transmission/.config
@@ -29,10 +26,6 @@ chown transmission:transmission /home/transmission/.config
}
pkg_postrm_${PN}() {
-#!/bin/sh
-if [ "x$D" != "x" ] ; then
- exit 1
-fi
delgroup transmission
deluser transmission
}
diff --git a/recipes/transmission/transmission_1.61.bb b/recipes/transmission/transmission_1.61.bb
index a9fb8c9edd..e898953dff 100644
--- a/recipes/transmission/transmission_1.61.bb
+++ b/recipes/transmission/transmission_1.61.bb
@@ -17,11 +17,10 @@ do_install_append() {
install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/transmission
}
+FILES_${PN} += "${datadir}/icons"
+
+# No need for online check, since update-rc.d will prepend it to here
pkg_postinst_${PN}() {
-#!/bin/sh
-if [ "x$D" != "x" ] ; then
- exit 1
-fi
grep -q transmission ${sysconfdir}/group || addgroup transmission
grep -q transmission ${sysconfdir}/passwd || adduser -h /home/transmission -S -D -G transmission -s ${base_bindir}/false transmission
mkdir -p /home/transmission/.config
@@ -29,10 +28,6 @@ chown transmission:transmission /home/transmission/.config
}
pkg_postrm_${PN}() {
-#!/bin/sh
-if [ "x$D" != "x" ] ; then
- exit 1
-fi
delgroup transmission
deluser transmission
}