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