Skip to content

Commit

Permalink
fix for broken install path
Browse files Browse the repository at this point in the history
  • Loading branch information
goedertw authored Feb 17, 2018
1 parent f674762 commit b38b239
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions miktex.install/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Function Get-RedirectedUrl {
throw $_.Exception
}
}
$Url = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-{{PackageVersion}}.exe
$Url = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/windows-x86/basic-miktex-{{PackageVersion}}.exe

$Url64 = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/basic-miktex-{{PackageVersion}}-x64.exe
$Url64 = Get-RedirectedURL http://mirrors.ctan.org/systems/win32/miktex/setup/windows-x64/basic-miktex-{{PackageVersion}}-x64.exe



Expand Down Expand Up @@ -54,4 +54,4 @@ $installLocation = ($temp -Split("internal"))[0]
$installLocation = ($installLocation -Split("`""))[1]
$installLocation = $installLocation -replace '/','\'
$autoInstall = Join-Path $installLocation "initexmf.exe"
& $autoInstall --set-config-value=[MPM]AutoInstall=1
& $autoInstall --set-config-value=[MPM]AutoInstall=1

0 comments on commit b38b239

Please sign in to comment.