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

13 lines
261 B
Plaintext
Raw Normal View History

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