diff options
author | Richard Purdie <richard@openedhand.com> | 2007-11-28 15:58:35 +0000 |
---|---|---|
committer | Richard Purdie <richard@openedhand.com> | 2007-11-28 15:58:35 +0000 |
commit | 705bfa44d80d291b3342a4acb5e6441af06acf0c (patch) | |
tree | 6785ac741e8bbd9fc76167548437d0f5d9d10ca0 /meta | |
parent | b12795d49f2ad0a490bdd887e58ce0a8133a1158 (diff) | |
download | poky-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
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/distcc/distcc_2.18.3.bb | 6 |
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 \ | |||
2 | compilation of C/C++/ObjC code across machines on a network." | 2 | compilation of C/C++/ObjC code across machines on a network." |
3 | SECTION = "devel" | 3 | SECTION = "devel" |
4 | LICENSE = "GPLv2" | 4 | LICENSE = "GPLv2" |
5 | PR = "r2" | 5 | PR = "r3" |
6 | 6 | ||
7 | DEPENDS = "avahi gtk+" | 7 | DEPENDS = "avahi gtk+" |
8 | RRECOMMENDS = "avahi-daemon" | 8 | RRECOMMENDS = "avahi-daemon" |
@@ -34,11 +34,11 @@ FILES_${PN} = " ${sysconfdir} \ | |||
34 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ | 34 | FILES_distcc-distmon-gnome = " ${bindir}/distccmon-gnome \ |
35 | ${datadir}/distcc" | 35 | ${datadir}/distcc" |
36 | 36 | ||
37 | pkg_postinst() { | 37 | pkg_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 | ||