Update rhel.sh

This commit is contained in:
midoks
2023-05-06 13:59:02 +08:00
parent 3dc7c2f5c1
commit 62a7320baf
+2 -1
View File
@@ -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