aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dotnet/install.sh2
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