Update rhel.sh

pull/407/head
midoks 2 years ago
parent 3dc7c2f5c1
commit 62a7320baf
  1. 3
      scripts/install/rhel.sh

@ -138,9 +138,10 @@ if [ $VERSION_ID -ge 8 ];then
for REPO_VAR in ${REPO_LIST[@]} for REPO_VAR in ${REPO_LIST[@]}
do do
if [ -f /etc/yum.repos.d/${REPO_VAR}.repo ];then if [ -f /etc/yum.repos.d/${REPO_VAR}.repo ];then
REPOS="${REPOS}${REPO_VAR}," REPOS="${REPOS},${REPO_VAR}"
fi fi
done done
REPOS=${REPOS//=,/=}
echo "REPOS:${REPOS}" echo "REPOS:${REPOS}"
# if [ $VERSION_ID -ge 9 ];then # if [ $VERSION_ID -ge 9 ];then

Loading…
Cancel
Save