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

10 lines
180 B
Python
Executable File

#!/usr/bin/env python
import sys
from sugar.activity.bundle import Bundle
bundle = Bundle(sys.argv[1])
bundle.install()
print "%s: '%s' installed." % (sys.argv[0], sys.argv[1])