From 6f67b185c40b1933fbf528b82c4ab3fc5c39dced Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 13 Apr 2020 11:24:18 +0500 Subject: [PATCH] remove appstream --- cyberpanel.sh | 2 +- cyberpanel_upgrade.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 6788135eb..d5ac3ec86 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -400,7 +400,7 @@ fi install_required() { if [[ $CENTOS_8 == "True" ]] ; then - rm -rf /etc/yum.repos.d/CentOS-AppStream.repo + echo 'enabled=0' >> /etc/yum.repos.d/CentOS-AppStream.repo curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel8.repo > /etc/yum.repos.d/CyberPanel.repo dnf install zip -y elif [[ $CENTOS_8 == "False" ]] ; then diff --git a/cyberpanel_upgrade.sh b/cyberpanel_upgrade.sh index a20885758..60c612ec2 100644 --- a/cyberpanel_upgrade.sh +++ b/cyberpanel_upgrade.sh @@ -28,7 +28,7 @@ rm -f /etc/yum.repos.d/gf.repo rm -f /etc/yum.repos.d/powerdns-auth-42.repo rm -rf /etc/yum.repos.d/powerdns-auth-master.repo rm -rf /etc/yum.repos.d/gf.repo.rpmnew -rm -rf /etc/yum.repos.d/CentOS-AppStream.repo +echo 'enabled=0' >> /etc/yum.repos.d/CentOS-AppStream.repo yum clean all yum update -y yum autoremove epel-release -y