From 2e789cb38bcf90cb3e919519e60323ffb5f0505e Mon Sep 17 00:00:00 2001 From: dpmatthews Date: Thu, 13 Jun 2024 07:11:23 +0100 Subject: [PATCH] fix --- install.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/install.sh b/install.sh index ed6f109..475f344 100755 --- a/install.sh +++ b/install.sh @@ -20,6 +20,12 @@ if [[ $collections =~ desktop ]]; then fi if [[ $dist == redhat && $release == centos* ]]; then + ls -l /etc/yum.repos.d/CentOS-Linux-* + cat /etc/yum.repos.d/CentOS-Linux-* + echo === sed + sed -i -e "s|mirrorlist=|#mirrorlist=|g" -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-Linux-* + cat /etc/yum.repos.d/CentOS-Linux-* + # Add the EPEL repository yum install -y epel-release || error fi