From 62a7320bafd52b3d4d16b78685646ed41d34ac04 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 6 May 2023 13:59:02 +0800 Subject: [PATCH] Update rhel.sh --- scripts/install/rhel.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/install/rhel.sh b/scripts/install/rhel.sh index f588c141f..734dbea26 100644 --- a/scripts/install/rhel.sh +++ b/scripts/install/rhel.sh @@ -138,9 +138,10 @@ if [ $VERSION_ID -ge 8 ];then for REPO_VAR in ${REPO_LIST[@]} do if [ -f /etc/yum.repos.d/${REPO_VAR}.repo ];then - REPOS="${REPOS}${REPO_VAR}," + REPOS="${REPOS},${REPO_VAR}" fi done + REPOS=${REPOS//=,/=} echo "REPOS:${REPOS}" # if [ $VERSION_ID -ge 9 ];then