summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2004-08-22 19:17:58 +0000
committerPhil Blundell <philb@gnu.org>2004-08-22 19:17:58 +0000
commitef9c62db6ab8ddcc5639340e4aede88f86ad24f4 (patch)
tree2c402a900567c4bd7065dade91eb38d80e123a2f
parente981c13fcde9a26419e66d691ad00a5028a99904 (diff)
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
-rw-r--r--dbus/dbus_0.21.oe8
1 files changed, 7 insertions, 1 deletions
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