update sugar-install-bundle for Bundle -> ActivityBundle
This commit is contained in:
parent
2a91e02444
commit
6cfae625a3
@ -1,12 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
|
||||
from sugar.activity.bundle import Bundle
|
||||
from sugar.bundle.activitybundle import ActivityBundle
|
||||
|
||||
from dbus.mainloop.glib import DBusGMainLoop
|
||||
DBusGMainLoop(set_as_default=True)
|
||||
|
||||
bundle = Bundle(sys.argv[1])
|
||||
bundle = ActivityBundle(sys.argv[1])
|
||||
bundle.install()
|
||||
|
||||
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])
|
||||
|
Loading…
Reference in New Issue
Block a user