Skip to content

Commit

Permalink
Merge pull request #491 from mesosphere/legacy-win-installer
Browse files Browse the repository at this point in the history
only allow legacy windows installer to install legacy cli version
  • Loading branch information
tamarrow committed Feb 24, 2016
2 parents 4e3bf34 + f9f7d65 commit 6587534
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions win_bin/install/install-dcos-cli.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,7 @@ if ($PYTHON_ARCHITECTURE -eq 64) {
& $installation_path\Scripts\easy_install "http://downloads.sourceforge.net/project/pywin32/pywin32/Build%20219/pywin32-219.win32-py$PYTHON_VERSION.exe" 2>&1 | out-null
}

if ($env:DCOS_CLI_VERSION) {
& $installation_path\Scripts\pip install --quiet "dcoscli==$env:DCOS_CLI_VERSION"
} else {
& $installation_path\Scripts\pip install --quiet "dcoscli"
}
& $installation_path\Scripts\pip install --quiet "dcoscli<0.4.0"

$env:Path="$env:Path;$installation_path\Scripts\"

Expand Down

0 comments on commit 6587534

Please sign in to comment.