sugar-toolkit-gtk3/bin/sugar-install-bundle
Marco Pesenti Gritti dbe42ac6d9 Make the shell scripts just a tiny wrapper which setup
the python path and run main().
2008-02-04 20:36:09 +01:00

13 lines
283 B
Python

#!/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])