summaryrefslogtreecommitdiff
path: root/package/dbus
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2012-03-12 15:30:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-03-12 15:30:29 +0100
commita63345271e2bade576fec190e964cea5938fcbfd (patch)
tree55091d373c0527ed79ee43d433aaec0c75e13fe7 /package/dbus
parentbd386a2d0f880915e5eac12ad310106dc50f66f4 (diff)
some minor changes and fixes
Diffstat (limited to 'package/dbus')
-rw-r--r--package/dbus/files/dbus.postinst7
1 files changed, 5 insertions, 2 deletions
diff --git a/package/dbus/files/dbus.postinst b/package/dbus/files/dbus.postinst
index 713c1c63a..97c5dd37a 100644
--- a/package/dbus/files/dbus.postinst
+++ b/package/dbus/files/dbus.postinst
@@ -5,5 +5,8 @@ add_group messagebus $gid
add_user messagebus $(get_next_uid) $gid /var/run/dbus
add_rcconf dbus dbus NO
echo Generating UUID
-mkdir /lib/dbus /var/lib && ln -sf /lib/dbus /var/lib/dbus
-dbus-uuidgen --ensure
+if [ -z $IPKG_INSTROOT ];then
+ mkdir /lib/dbus /var/lib
+ ln -sf /lib/dbus /var/lib/dbus
+ dbus-uuidgen --ensure
+fi