From 5a4b85d0259f78fd64e4ddff4b297f5e687762bc Mon Sep 17 00:00:00 2001 From: Wendy May <101485931+catAndZ@users.noreply.github.com> Date: Wed, 4 Sep 2024 13:04:06 +0800 Subject: [PATCH] Update start.sh --- install/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/start.sh b/install/start.sh index 84befd7..726eed6 100644 --- a/install/start.sh +++ b/install/start.sh @@ -15,7 +15,7 @@ en=$2 #stty erase ^h setenforce 0 -centosV=`cat /etc/redhat-release|sed -r 's/.* ([0-9]+)\..*/\1/'` +centosV=`cat /etc/redhat-release|sed -r 's/.* ([0-9]+)\.?.*/\1/'` if [ $centosV != 7 ] ; then if [ $centosV != 8 ] ; then