Merge branch 'master' of git+ssh://dev.laptop.org/git/sugar

This commit is contained in:
Marco Pesenti Gritti 2006-10-06 23:34:11 +02:00
commit 55f82602c4

View File

@ -3,8 +3,18 @@ import sys
from sugar import setup
if len(sys.argv) > 2:
prefix = sys.argv[2]
else:
prefix = '@prefix@'
if len(sys.argv) > 3:
root = sys.argv[3]
else:
root = ''
setup.setup_activity(sys.argv[1],
'@prefix@/share/sugar/activities',
'@prefix@/bin/sugar-activity-factory')
'%s%s/share/sugar/activities' % (root, prefix),
'%s/bin/sugar-activity-factory' % prefix)
print '%s installed.' % sys.argv[1]