~vcs-imports/mintinstall/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/usr/bin/python

import os
import sys
import commands 

launcher = commands.getoutput("/usr/bin/mint-which-launcher")
if len(sys.argv) > 1:
	mintfile = sys.argv[1]
	command = "%s /usr/lib/linuxmint/mintInstall/mintInstall.py %s %s %s" % (launcher, mintfile, os.getenv("USER"), os.getenv("HOME"))
	os.system(command)
else:
	os.system("%s /usr/lib/linuxmint/mintInstall/frontend.py %s" % (launcher, os.getenv("USER")))