mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
Update rhel.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user