diff options
author | JP Ungaretti <git@jungaretti.com> | 2023-03-11 02:17:16 +0300 |
---|---|---|
committer | JP Ungaretti <git@jungaretti.com> | 2023-03-11 02:17:16 +0300 |
commit | 7d818c27a89bea2292a98c7495cf6dcf98825f43 (patch) | |
tree | 1137e2e9ad76832d712262ed23a0983ab8304ed2 | |
parent | 4b1855cc6c89fa8a1073b4a718904743615746b9 (diff) |
Check sha256jungaretti/dotnet-2
-rw-r--r-- | src/dotnet/install.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dotnet/install.sh b/src/dotnet/install.sh index e21d3f9..36de43c 100644 --- a/src/dotnet/install.sh +++ b/src/dotnet/install.sh @@ -12,6 +12,7 @@ DOTNET_ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}" DOTNET_RUNTIME_ONLY="${RUNTIMEONLY:-"false"}" DOTNET_INSTALL_SCRIPT_URL='https://dot.net/v1/dotnet-install.sh' +DOTNET_INSTALL_SCRIPT_SHA256='3d5a87bc29fb96e8dac8c2f88d95ff619c3a921903b4c9ff720e07ca0906d55e /tmp/dotnet-install.sh' DOTNET_INSTALL_SCRIPT='/tmp/dotnet-install.sh' DOTNET_INSTALL_DIR='/usr/local/dotnet/current' @@ -80,6 +81,7 @@ fi check_packages wget ca-certificates icu-devtools wget -O "$DOTNET_INSTALL_SCRIPT" "$DOTNET_INSTALL_SCRIPT_URL" +sha256sum --check <<< $DOTNET_INSTALL_SCRIPT_SHA256 chmod +x "$DOTNET_INSTALL_SCRIPT" # Install primary version |