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. (#10344)
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:
parent
121519aeee
commit
6d0f5a672f
2 changed files with 2 additions and 2 deletions
packaging/installer
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue