[Lunar-commits] <moonbase> dbus: remove some existing symlinks in order to install it when systemd is already installed.

Florin Braescu florin at lunar-linux.org
Wed Sep 29 22:27:46 CEST 2010


commit 9b7a8b1d2bea98fdf37d892f8247bc1527193e66
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Wed Sep 29 23:27:46 2010 +0300

    dbus: remove some existing symlinks in order to install it when systemd is already installed.
---
 devel/dbus/BUILD |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/devel/dbus/BUILD b/devel/dbus/BUILD
index ce3e5aa..7f94161 100644
--- a/devel/dbus/BUILD
+++ b/devel/dbus/BUILD
@@ -1,5 +1,9 @@
 (
 
+  rm -fr /usr/lib/systemd/system/dbus.target.wants/dbus.socket
+  rm -fr /usr/lib/systemd/system/sockets.target.wants/dbus.socket
+  rm -fr /usr/lib/systemd/system/multi-user.target.wants/dbus.service
+
   OPTS="$OPTS --enable-checks --with-xml=expat                       \
         --with-system-pid-file=/var/run/messagebus.pid               \
         --with-system-socket=/var/lib/dbus/system_bus_socket         \
@@ -15,6 +19,6 @@
   chown -R messagebus:messagebus /var/lib/dbus  &&
 
   mkdir -p /etc/X11/xinit/xinitrc.d/  &&
-  install -m755 $SCRIPT_DIRECTORY/30-dbus /etc/X11/xinit/xinitrc.d/ 
+  install -m755 $SCRIPT_DIRECTORY/30-dbus /etc/X11/xinit/xinitrc.d/
 
 ) > $C_FIFO 2>&1


More information about the Lunar-commits mailing list