From f05ce79e63ba6f6c4129bf0c5e6bfc4a238aaa80 Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 20 Jul 2023 15:55:11 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index cb7ea656f..1039590ee 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -138,7 +138,7 @@ fi $PKGMGR makecache $PKGMGR groupinstall -y "Development Tools" -if [ $VERSION_ID -ge 8 ];then +if [ "$VERSION_ID" -ge "8" ];then # EL8 及以上 # find repo