summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard@openedhand.com>2007-11-28 15:58:35 +0000
committerRichard Purdie <richard@openedhand.com>2007-11-28 15:58:35 +0000
commit705bfa44d80d291b3342a4acb5e6441af06acf0c (patch)
tree6785ac741e8bbd9fc76167548437d0f5d9d10ca0
parentb12795d49f2ad0a490bdd887e58ce0a8133a1158 (diff)
downloadpoky-705bfa44d80d291b3342a4acb5e6441af06acf0c.tar.gz
distcc: Fix remaining postinst issues
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3263 311d38ba-8fff-0310-9ca6-ca027cbcb966
-rw-r--r--meta/packages/distcc/distcc_2.18.3.bb6
1 files 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 d52f696cb3..82f45e61c2 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 \
2compilation of C/C++/ObjC code across machines on a network." 2compilation of C/C++/ObjC code across machines on a network."
3SECTION = "devel" 3SECTION = "devel"
4LICENSE = "GPLv2" 4LICENSE = "GPLv2"
5PR = "r2" 5PR = "r3"
6 6
7DEPENDS = "avahi gtk+" 7DEPENDS = "avahi gtk+"
8RRECOMMENDS = "avahi-daemon" 8RRECOMMENDS = "avahi-daemon"
@@ -34,11 +34,11 @@ FILES_${PN} = " ${sysconfdir} \
34FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ 34FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \
35 ${datadir}/distcc" 35 ${datadir}/distcc"
36 36
37pkg_postinst() { 37pkg_postinst_${PN} () {
38 if test "x$D" != "x"; then 38 if test "x$D" != "x"; then
39 exit 1 39 exit 1
40 else 40 else
41 grep distcc /etc/passwd || adduser --system --home /dev/null --empty-password --ingroup nogroup distcc 41 grep distcc /etc/passwd || adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup distcc
42 fi 42 fi
43} 43}
44 44