mirror of
https://github.com/netdata/netdata.git
synced 2025-04-17 19:22:40 +00:00
Fix yum config-manager check (#11945)
This commit is contained in:
parent
e91d1110e5
commit
74b56fa56f
1 changed files with 1 additions and 1 deletions
|
@ -1613,7 +1613,7 @@ validate_tree_centos() {
|
|||
|
||||
if [[ "${version}" =~ ^8(\..*)?$ ]]; then
|
||||
echo >&2 " > Checking for config-manager ..."
|
||||
if ! run yum ${sudo} config-manager; then
|
||||
if ! run ${sudo} yum config-manager --help; then
|
||||
if prompt "config-manager not found, shall I install it?"; then
|
||||
run ${sudo} yum ${opts} install 'dnf-command(config-manager)'
|
||||
fi
|
||||
|
|
Loading…
Add table
Reference in a new issue