Ensure /tmp/sugar-services exists

This commit is contained in:
Marco Pesenti Gritti 2006-11-02 00:45:17 +01:00
parent 823f1cf6f7
commit fcd4ebb281

View File

@ -70,5 +70,9 @@ for i in range(1, len(sys.argv)):
emulator = Emulator(fullscreen) emulator = Emulator(fullscreen)
emulator.start() emulator.start()
# FIXME temporary until dbus support services in home dir
if not os.path.isdir('/tmp/sugar-services'):
os.mkdir('/tmp/sugar-services')
os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session', os.execlp('dbus-launch', 'dbus-launch', '--exit-with-session',
'--config-file=%s' % env.get_dbus_config(), program) '--config-file=%s' % env.get_dbus_config(), program)