mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-16 11:36:48 +01:00
Update cyberpanel.sh
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user