From 6c84f8a36d19e21db588d3b3bbbce54cda0a10a1 Mon Sep 17 00:00:00 2001 From: =?utf-8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 11 Oct 2009 14:56:42 +0200 Subject: [PATCH] Fix broken execution of dbus-launch --- scripts/xinitrc.in.in | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/scripts/xinitrc.in.in b/scripts/xinitrc.in.in index fb3f6a3..9b54453 100755 --- a/scripts/xinitrc.in.in +++ b/scripts/xinitrc.in.in @@ -101,8 +101,9 @@ test -r $HOME/.Xmodmap && xmodmap $HOME/.Xmodmap # Use dbus-launch if installed. +dbuslaunch="dbus-launch" if test x"$DBUS_SESSION_BUS_ADDRESS" = x""; then - if type dbus-launch >/dev/null 2>&1; then + if type $dbuslaunch >/dev/null 2>&1; then eval `$dbuslaunch --sh-syntax --exit-with-session` # some older versions of dbus don't export the var properly export DBUS_SESSION_BUS_ADDRESS -- 1.6.3.3