From 0f733488ab08f0d0fe7d7ee6b468682f870fc13d Mon Sep 17 00:00:00 2001
From: Leonardo Victor Teodoro
<79879779+LeonardoTeodoro91@users.noreply.github.com>
Date: Fri, 12 Nov 2021 22:25:50 -0300
Subject: [PATCH 1/2] Change URL download to v24.1.5
Change URL download to v24.1.5
---
Erlang/erlang.nuspec | 2 +-
Erlang/tools/chocolateyInstall.ps1 | 10 +++++-----
Erlang/tools/chocolateyUninstall.ps1 | 4 ++--
3 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/Erlang/erlang.nuspec b/Erlang/erlang.nuspec
index c90eb97..010718d 100644
--- a/Erlang/erlang.nuspec
+++ b/Erlang/erlang.nuspec
@@ -17,7 +17,7 @@ OTP is set of Erlang libraries and design principles providing middle-ware to de
false
https://github.com/smerchek/nugetpackages/raw/master/Erlang/erlang-logo.png
https://github.com/ElixirWin/ChocolateyPackages/tree/master/Erlang
- https://erlang.org/download/OTP-24.0.README
+ https://github.com/erlang/otp/blob/OTP-24.1.5/README.md
http://erlang.org/doc/search/
http://erlang.org/mailman/listinfo/erlang-questions
https://bugs.erlang.org/secure/Dashboard.jspa
diff --git a/Erlang/tools/chocolateyInstall.ps1 b/Erlang/tools/chocolateyInstall.ps1
index adf9271..b126679 100644
--- a/Erlang/tools/chocolateyInstall.ps1
+++ b/Erlang/tools/chocolateyInstall.ps1
@@ -4,21 +4,21 @@ An install script for installing Erlang silently on the machine via ChocolateyNu
.NOTES
Author: Onorio Catenacci - catenacci@ieee.org
-Version: 24.0
+Version: 24.1.5
#>
$package = 'erlang'
-$version = '24.0'
-$erl_version = '12.0'
+$version = '24.1.5'
+$erl_version = '12.1.5'
$params = @{
PackageName = $package
FileType = 'exe'
SilentArgs = '/S'
- Url = "https://erlang.org/download/otp_win32_$version.exe"
+ Url = "https://github.com/erlang/otp/releases/download/OTP-24.1.5/otp_win32_24.1.5.exe"
CheckSum = 'ccc1e5918aefb543d2b5e7547c44e1b1ff66d62cd4ea74dd4782f694a6de8a44'
CheckSumType = 'sha256'
- Url64 = "https://erlang.org/download/otp_win64_$version.exe"
+ Url64 = "https://github.com/erlang/otp/releases/download/OTP-24.1.5/otp_win64_24.1.5.exe"
CheckSum64 = 'f13311ae26d5260566740f8a7f124d0ba3589a1f52aada84b236825641f53225'
CheckSumType64 = 'sha256'
validExitCodes = @(0)
diff --git a/Erlang/tools/chocolateyUninstall.ps1 b/Erlang/tools/chocolateyUninstall.ps1
index dc4c5d2..2abd503 100644
--- a/Erlang/tools/chocolateyUninstall.ps1
+++ b/Erlang/tools/chocolateyUninstall.ps1
@@ -1,6 +1,6 @@
$package = 'erlang'
-$version = '24.0'
-$erl_version = '12.0'
+$version = '24.1.5'
+$erl_version = '12.1.5'
Start-Process -Wait "$env:ProgramFiles\erl-$version\uninstall.exe" -ArgumentList "/S"
From 7a80b655febab31716c2d6d8ef6c8accf9a3f774 Mon Sep 17 00:00:00 2001
From: Leonardo Victor Teodoro
<79879779+LeonardoTeodoro91@users.noreply.github.com>
Date: Sat, 13 Nov 2021 08:41:24 -0300
Subject: [PATCH 2/2] Fix Download URL.
Put the new URL to the Erlang download.
---
Erlang/tools/chocolateyInstall.ps1 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/Erlang/tools/chocolateyInstall.ps1 b/Erlang/tools/chocolateyInstall.ps1
index b126679..a6f04a7 100644
--- a/Erlang/tools/chocolateyInstall.ps1
+++ b/Erlang/tools/chocolateyInstall.ps1
@@ -15,10 +15,10 @@ $params = @{
PackageName = $package
FileType = 'exe'
SilentArgs = '/S'
- Url = "https://github.com/erlang/otp/releases/download/OTP-24.1.5/otp_win32_24.1.5.exe"
+ Url = "https://github.com/erlang/otp/releases/download/OTP-$version/otp_win32_$version.exe"
CheckSum = 'ccc1e5918aefb543d2b5e7547c44e1b1ff66d62cd4ea74dd4782f694a6de8a44'
CheckSumType = 'sha256'
- Url64 = "https://github.com/erlang/otp/releases/download/OTP-24.1.5/otp_win64_24.1.5.exe"
+ Url64 = "https://github.com/erlang/otp/releases/download/OTP-$version/otp_win64_$version.exe"
CheckSum64 = 'f13311ae26d5260566740f8a7f124d0ba3589a1f52aada84b236825641f53225'
CheckSumType64 = 'sha256'
validExitCodes = @(0)