2007-06-15 11:36:08 +02:00
|
|
|
#!/usr/bin/env python
|
2007-01-27 12:54:56 +01:00
|
|
|
import sys
|
|
|
|
|
2007-09-21 21:16:53 +02:00
|
|
|
from sugar.bundle.activitybundle import ActivityBundle
|
2007-01-27 12:54:56 +01:00
|
|
|
|
2007-07-09 20:14:24 +02:00
|
|
|
from dbus.mainloop.glib import DBusGMainLoop
|
|
|
|
DBusGMainLoop(set_as_default=True)
|
|
|
|
|
2007-09-21 21:16:53 +02:00
|
|
|
bundle = ActivityBundle(sys.argv[1])
|
2007-06-15 11:36:08 +02:00
|
|
|
bundle.install()
|
2007-01-27 12:54:56 +01:00
|
|
|
|
|
|
|
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|