From 705bfa44d80d291b3342a4acb5e6441af06acf0c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 28 Nov 2007 15:58:35 +0000 Subject: distcc: Fix remaining postinst issues git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3263 311d38ba-8fff-0310-9ca6-ca027cbcb966 --- meta/packages/distcc/distcc_2.18.3.bb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/meta/packages/distcc/distcc_2.18.3.bb b/meta/packages/distcc/distcc_2.18.3.bb index d52f696cb..82f45e61c 100644 --- a/meta/packages/distcc/distcc_2.18.3.bb +++ b/meta/packages/distcc/distcc_2.18.3.bb @@ -2,7 +2,7 @@ DESCRIPTION = "distcc is a parallel build system that distributes \ compilation of C/C++/ObjC code across machines on a network." SECTION = "devel" LICENSE = "GPLv2" -PR = "r2" +PR = "r3" DEPENDS = "avahi gtk+" RRECOMMENDS = "avahi-daemon" @@ -34,11 +34,11 @@ FILES_${PN} = " ${sysconfdir} \ FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ ${datadir}/distcc" -pkg_postinst() { +pkg_postinst_${PN} () { if test "x$D" != "x"; then exit 1 else - grep distcc /etc/passwd || adduser --system --home /dev/null --empty-password --ingroup nogroup distcc + grep distcc /etc/passwd || adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup distcc fi } -- cgit v1.2.3