mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:59:25 +08:00
Update rhel.sh
This commit is contained in:
@@ -151,6 +151,12 @@ if [ "$VERSION_ID" -ge "8" ];then
|
||||
REPOS="${REPOS},${REPO_VAR}"
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$REPOS" == "--enablerepo=" ];then
|
||||
# if not find, reset emtpy
|
||||
REPOS=''
|
||||
fi
|
||||
|
||||
REPOS=${REPOS//=,/=}
|
||||
echo "REPOS:${REPOS}"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user