Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dpmatthews committed Jun 13, 2024
1 parent 2d8b80d commit 2e789cb
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2e789cb

Please sign in to comment.