Ignore --model if --install is given.

This commit is contained in:
Timothy Sutton 2013-03-09 18:19:37 -05:00
parent 1073c41b8d
commit 4ae6989fd3

View file

@ -138,6 +138,9 @@ when running the installer out of 'system32'." % output_dir)
sys.exit("The --leave-files option is only useful when used with --install option!")
if opts.model:
if opts.install:
status("Ignoring '--model' when '--install' is used. The Boot Camp "
"installer won't allow other models to be installed, anyway.")
model = opts.model
else:
model = getMachineModel()