mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-01-26 01:09:04 +01:00
Update cyberpanel.sh
Updated so both Centos 7 and Cento 8 use copart/restic vs just centos 7 https://github.com/usmannasir/cyberpanel/issues/580#issuecomment-822615854
This commit is contained in:
@@ -806,6 +806,11 @@ if [[ $Server_OS = "CentOS" ]] ; then
|
||||
yum autoremove -y epel-release
|
||||
rm -f /etc/yum.repos.d/epel.repo
|
||||
rm -f /etc/yum.repos.d/epel.repo.rpmsave
|
||||
|
||||
yum install -y yum-plugin-copr
|
||||
Check_Return "yum repo" "no_exit"
|
||||
yum copr enable -y copart/restic
|
||||
Check_Return "yum repo" "no_exit"
|
||||
|
||||
|
||||
if [[ "$Server_OS_Version" = "8" ]]; then
|
||||
@@ -847,11 +852,6 @@ EOF
|
||||
yum install --nogpg -y https://cyberpanel.sh/mirror.ghettoforge.org/distributions/gf/gf-release-latest.gf.el7.noarch.rpm
|
||||
Check_Return "yum repo" "no_exit"
|
||||
|
||||
yum install -y yum-plugin-copr
|
||||
Check_Return "yum repo" "no_exit"
|
||||
yum copr enable -y copart/restic
|
||||
Check_Return "yum repo" "no_exit"
|
||||
|
||||
rpm -ivh https://cyberpanel.sh/repo.iotti.biz/CentOS/7/noarch/lux-release-7-1.noarch.rpm
|
||||
Check_Return "yum repo" "no_exit"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user