sugar-toolkit-gtk3/bin/sugar-install-bundle

13 lines
283 B
Plaintext
Raw Normal View History

#!/usr/bin/env python
2007-01-27 12:54:56 +01:00
import sys
from sugar.bundle.activitybundle import ActivityBundle
2007-01-27 12:54:56 +01:00
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
bundle = ActivityBundle(sys.argv[1])
bundle.install()
2007-01-27 12:54:56 +01:00
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])