remove appstream

This commit is contained in:
Usman Nasir
2020-04-13 11:24:18 +05:00
parent 693718b9d2
commit 6f67b185c4
2 changed files with 2 additions and 2 deletions

View File

@@ -400,7 +400,7 @@ fi
install_required() { install_required() {
if [[ $CENTOS_8 == "True" ]] ; then 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 curl https://raw.githubusercontent.com/usmannasir/cyberpanel/v2.0.1/install/CyberPanel8.repo > /etc/yum.repos.d/CyberPanel.repo
dnf install zip -y dnf install zip -y
elif [[ $CENTOS_8 == "False" ]] ; then elif [[ $CENTOS_8 == "False" ]] ; then

View File

@@ -28,7 +28,7 @@ rm -f /etc/yum.repos.d/gf.repo
rm -f /etc/yum.repos.d/powerdns-auth-42.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/powerdns-auth-master.repo
rm -rf /etc/yum.repos.d/gf.repo.rpmnew 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 clean all
yum update -y yum update -y
yum autoremove epel-release -y yum autoremove epel-release -y