From ef9c62db6ab8ddcc5639340e4aede88f86ad24f4 Mon Sep 17 00:00:00 2001 From: Phil Blundell Date: Sun, 22 Aug 2004 19:17:58 +0000 Subject: Merge bk://openembedded@openembedded.bkbits.net/packages into workhouse.nexus.co.uk:/home/pb/oe/oe-packages 2004/08/22 20:17:38+01:00 nexus.co.uk!pb don't allow postinst to run offline BKrev: 4128f1668IsnbnEaizAvqL2VVfc2sw --- dbus/dbus_0.21.oe | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'dbus/dbus_0.21.oe') diff --git a/dbus/dbus_0.21.oe b/dbus/dbus_0.21.oe index 710bdbd21c..e9be99660d 100644 --- a/dbus/dbus_0.21.oe +++ b/dbus/dbus_0.21.oe @@ -1,4 +1,4 @@ -PR = "r2" +PR = "r3" HOMEPAGE = "http://www.freedesktop.org/Software/dbus" DESCRIPTION = "message bus system for applications to talk to one another" DEPENDS = "expat glib-2.0" @@ -18,6 +18,12 @@ FILES_${PN}-dev += " ${libdir}/dbus-1.0/include" pkg_postinst_dbus() { #!/bin/sh + +# can't do adduser stuff offline +if [ "x$D" != "x" ]; then + exit 1 +fi + MESSAGEUSER=messagebus MESSAGEHOME=/var/run/dbus -- cgit v1.2.3