Skip to content

Commit

Permalink
Update cyberpanel.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
lonyai authored Nov 21, 2023
1 parent f3c5eac commit 14e4da8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cyberpanel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -834,10 +834,10 @@ if [[ $Server_OS = "CentOS" ]] ; then
rm -f /etc/yum.repos.d/epel.repo.rpmsave

if [[ "$Server_OS_Version" = "9" ]]; then
grep 'NAME="Red Hat Enterprise Linux"' /etc/os-release >/dev/null
grep "NAME.*Red Hat Enterprise Linux" /etc/os-release >/dev/null
if [[ $? ]] ; then
subscription-manager repos --enable codeready-builder-for-rhel-9-$(arch)-rpms
yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm
Check_Return "yum repo" "no_exit"
else
yum config-manager --set-enabled crb > /dev/null 2>&1
Expand Down

0 comments on commit 14e4da8

Please sign in to comment.