We only need to enable repos on CentOS/RHEL 8.
parent
dd7d3c6e23
commit
af00296ffe
|
|
@ -9,7 +9,9 @@ OS_VERSION=$(cat /etc/os-release | grep "^VERSION_ID=" | awk -F "=" '{ print $2
|
|||
|
||||
# EPEL & other repos
|
||||
yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-${OS_VERSION}.noarch.rpm
|
||||
yum config-manager --enable PowerTools AppStream BaseOS *epel
|
||||
if [ ${OS_VERSION} == 8 ]; then
|
||||
yum config-manager --enable PowerTools AppStream BaseOS *epel
|
||||
fi
|
||||
|
||||
# Node repo
|
||||
echo "Setting up the NodeJS repo..."
|
||||
|
|
|
|||
Loading…
Reference in New Issue