0
0
Fork 0
mirror of https://github.com/netdata/netdata.git synced 2025-04-16 10:31:07 +00:00

Fix handling of PowerTools repo on CentOS 8. ()

They appear to have changed DNF to be case-sensitive for repo naming,
and the repo name that is expected is all lower case.
This commit is contained in:
Austin S. Hemmelgarn 2020-12-09 07:08:16 -05:00 committed by GitHub
parent 121519aeee
commit 6d0f5a672f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
packaging/installer

View file

@ -1550,7 +1550,7 @@ validate_tree_centos() {
echo >&2 " > Checking for PowerTools ..."
if ! run yum ${sudo} repolist | grep PowerTools; then
if prompt "PowerTools not found, shall I install it?"; then
run ${sudo} yum ${opts} config-manager --set-enabled PowerTools
run ${sudo} yum ${opts} config-manager --set-enabled powertools
fi
fi

View file

@ -164,7 +164,7 @@ And install the minimum required dependencies:
yum install -y 'dnf-command(config-manager)'
# Enable PowerTools
yum config-manager --set-enabled PowerTools
yum config-manager --set-enabled powertools
# Enable EPEL
yum install -y epel-release