From 561169809b92e29cfd762c3cd673def881764dcc Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 02 Nov 2006 19:16:36 +0000 Subject: Install services in user dir if dbus is recent enough. --- (limited to 'sugar-emulator') diff --git a/sugar-emulator b/sugar-emulator index 16e9da4..e9ba62c 100755 --- a/sugar-emulator +++ b/sugar-emulator @@ -70,9 +70,9 @@ for i in range(1, len(sys.argv)): emulator = Emulator(fullscreen) emulator.start() -# FIXME temporary until dbus support services in home dir -if not os.path.isdir('/tmp/sugar-services'): - os.mkdir('/tmp/sugar-services') +if env.get_dbus_version() < '0.95': + if not os.path.isdir('/tmp/sugar-services'): + os.mkdir('/tmp/sugar-services') os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', '--config-file=%s' % env.get_dbus_config(), program) -- cgit v0.9.1