Update init-tools.sh to detect rhel6
This commit is contained in:
Родитель
11cbcc4975
Коммит
f41b2697b3
|
@ -33,6 +33,14 @@ OSName=$(uname -s)
|
|||
Linux)
|
||||
__DOTNET_PKG=dotnet-dev-linux-x64
|
||||
OS=Linux
|
||||
|
||||
if [ -e /etc/redhat-release ]; then
|
||||
redhatRelease=$(</etc/redhat-release)
|
||||
if [[ $redhatRelease == "CentOS release 6."* || $redhatRelease == "Red Hat Enterprise Linux Server release 6."* ]]; then
|
||||
__DOTNET_PKG=dotnet-dev-rhel.6-x64
|
||||
fi
|
||||
fi
|
||||
|
||||
;;
|
||||
|
||||
*)
|
||||
|
|
Загрузка…
Ссылка в новой задаче