From 1369801c085d3a479626ebc3079c59b792629ca2 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 17 Sep 2020 00:35:44 +0500 Subject: [PATCH] add ius for python3 --- cyberpanel.sh | 4 ++++ cyberpanel_upgrade.sh | 8 ++++++++ 2 files changed, 12 insertions(+) diff --git a/cyberpanel.sh b/cyberpanel.sh index 50c89acc6..73632af08 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -425,6 +425,10 @@ EOF yum install http://repo.iotti.biz/CentOS/7/noarch/lux-release-7-1.noarch.rpm -y + ## IUS Repo for python 3 + + yum install https://repo.ius.io/ius-release-el7.rpm -y + fi fi diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh index de20e98e5..84e8c4de3 100644 --- a/cyberpanel_upgrade.sh +++ b/cyberpanel_upgrade.sh @@ -275,6 +275,14 @@ EOF yum install yum-plugin-copr -y yum copr enable copart/restic -y + ## IUS Repo for python 3 + + rm -f /etc/yum.repos.d/ius-archive.repo + rm -f /etc/yum.repos.d/ius.repo + rm -f /etc/yum.repos.d/ius-testing.repo + + yum install https://repo.ius.io/ius-release-el7.rpm -y + # ## Lux for git 2.17 or more # # cat << EOF > /etc/yum.repos.d/lux.repo