13 lines
283 B
Python
Executable File
13 lines
283 B
Python
Executable File
#!/usr/bin/env python
|
|
import sys
|
|
|
|
from sugar.bundle.activitybundle import ActivityBundle
|
|
|
|
from dbus.mainloop.glib import DBusGMainLoop
|
|
DBusGMainLoop(set_as_default=True)
|
|
|
|
bundle = ActivityBundle(sys.argv[1])
|
|
bundle.install()
|
|
|
|
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|