From a63345271e2bade576fec190e964cea5938fcbfd Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Mon, 12 Mar 2012 15:30:29 +0100 Subject: some minor changes and fixes --- package/dbus/files/dbus.postinst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'package/dbus') 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 -- cgit v1.2.3