Browse Source

Merge pull request #338 from JulienSchmidt/master

Update Go to version 1.1.1
Patrick Falls 12 years ago
parent
commit
84ee8c2c9a
2 changed files with 4 additions and 4 deletions
  1. 3 3
      installer.ps1
  2. 1 1
      installer.py

+ 3 - 3
installer.ps1

@@ -137,8 +137,8 @@ $env:Path += ";C:\ProgramData\Composer\bin"; [Environment]::SetEnvironmentVariab
 # Go
 # Go
 #
 #
 Write-Host "Installing Go...`n"
 Write-Host "Installing Go...`n"
-$go_url = "https://go.googlecode.com/files/go1.1.windows-amd64.msi"
-$go_local = "$workdir\go1.1.windows-amd64.msi"
+$go_url = "http://go.googlecode.com/files/go1.1.1.windows-amd64.msi"
+$go_local = "$workdir\go1.1.1.windows-amd64.msi"
 (New-Object System.Net.WebClient).DownloadFile($go_url, $go_local)
 (New-Object System.Net.WebClient).DownloadFile($go_url, $go_local)
 Start-Process $go_local "/passive" -Wait
 Start-Process $go_local "/passive" -Wait
 $env:Path += ";C:\Go\bin"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
 $env:Path += ";C:\Go\bin"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
@@ -216,4 +216,4 @@ $hg_installer_local = "$workdir\$hg_installer_file"
 Start-Process $hg_installer_local '/passive' -Wait
 Start-Process $hg_installer_local '/passive' -Wait
 $env:Path += ";C:\Program Files\Mercurial"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
 $env:Path += ";C:\Program Files\Mercurial"; [Environment]::SetEnvironmentVariable("Path", $env:Path, [System.EnvironmentVariableTarget]::Machine)
 
 
-cd $basedir
+cd $basedir

+ 1 - 1
installer.py

@@ -116,7 +116,7 @@ class Installer:
     # go
     # go
     #
     #
 
 
-    self.__run_command("curl http://go.googlecode.com/files/go1.1.linux-amd64.tar.gz | tar xvz")
+    self.__run_command("curl http://go.googlecode.com/files/go1.1.1.linux-amd64.tar.gz | tar xvz")
 
 
     #
     #
     # Perl
     # Perl