diff options
-rw-r--r-- | recipes/transmission/transmission_1.40.bb | 9 | ||||
-rw-r--r-- | recipes/transmission/transmission_1.61.bb | 11 |
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 } |