Update rhel.sh

This commit is contained in:
Mr Chen
2024-06-10 12:53:20 +08:00
parent bc6370ad8e
commit cb2883646d
-3
View File
@@ -17,9 +17,6 @@ VERSION_ID=`grep -o -i 'release *[[:digit:]]\+\.*' /etc/redhat-release | grep -o
if [ $VERSION_ID == '7' ]; then
yum install -y curl-devel libmcrypt libmcrypt-devel python3-devel
yum install -y libncurses*
elif [ $VERSION_ID == '8' ]; then
dnf install -y curl-devel libmcrypt libmcrypt-devel python36-devel
dnf install -y libncurses*
else
dnf install -y curl-devel libmcrypt libmcrypt-devel python36-devel
dnf install -y libncurses*