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 31e1ffd commit 536ec7f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
6 changes: 3 additions & 3 deletions install-base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ if [[ $dist == ubuntu ]]; then
apt-get install -q -y xxdiff || error
elif [[ $dist == redhat ]]; then
yum install -y subversion firefox perl-core perl-XML-Parser || error
# if [[ $release == centos8 ]]; then
# dnf config-manager --set-enabled powertools
# fi
if [[ $release == centos8 ]]; then
dnf config-manager --set-enabled powertools
fi
yum install -y perl-Config-IniFiles subversion-perl || error
yum install -y gcc-c++ || error # used by fcm test-battery
if [[ $release == fedora* ]]; then
Expand Down
11 changes: 5 additions & 6 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,12 @@ if [[ $collections =~ desktop ]]; then
fi

if [[ $dist == redhat && $release == centos* ]]; then
ls -lR /etc/yum.repos.d
cat /etc/yum.repos.d/*
sed -i -e "s|mirrorlist=|#mirrorlist=|g" /etc/yum.repos.d/CentOS-*
sed -i -e "s|#baseurl=http://mirror.centos.org|baseurl=http://vault.centos.org|g" /etc/yum.repos.d/CentOS-*
# Stream 8 now EOL
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-*
# Add the EPEL repository
dnf config-manager --set-enabled powertools
dnf install epel-release epel-next-release || error
yum install -y epel-release || error
#dnf config-manager --set-enabled powertools
#dnf install epel-release epel-next-release || error
fi

# Use the WANdisco subversion packages
Expand Down

0 comments on commit 536ec7f

Please sign in to comment.