Install service files so that services are automatically

This commit is contained in:
Marco Pesenti Gritti
2006-04-26 02:25:58 -04:00
parent 070088a6a5
commit 200c3d077a
4 changed files with 52 additions and 6 deletions
+14 -2
View File
@@ -1,9 +1,21 @@
#!/usr/bin/python
import sys
import os
# FIXME Without args we should startup the session thing
if len(sys.argv) == 1 or sys.argv[1] == 'shell':
if len(sys.argv) == 1:
# FIXME Start a session
# We are lucky and this
# currently behave as we want.
# The chat depends on the
# web browser, so both activities
# are spanned. But obviously we
# need something better.
import sugar.chat
sugar.chat.main()
elif sys.argv[1] == 'shell':
import sugar.shell
sugar.shell.main()
elif sys.argv[1] == 'chat':