summaryrefslogtreecommitdiff
path: root/init-tools.sh
diff options
context:
space:
mode:
Diffstat (limited to 'init-tools.sh')
-rwxr-xr-xinit-tools.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/init-tools.sh b/init-tools.sh
index 97a8f10a19..8a3d1a8ca8 100755
--- a/init-tools.sh
+++ b/init-tools.sh
@@ -69,6 +69,10 @@ if [ "$__DistroName" == "centos" ]; then
__DOTNET_PKG=dotnet-centos-x64
fi
+if [ "$__DistroName" == "rhel" ]; then
+ __DOTNET_PKG=dotnet-centos-x64
+fi
+
__CLIDownloadURL=https://dotnetcli.blob.core.windows.net/dotnet/dev/Binaries/${__DOTNET_TOOLS_VERSION}/${__DOTNET_PKG}.${__DOTNET_TOOLS_VERSION}.tar.gz
echo ".NET CLI will be downloaded from $__CLIDownloadURL"