diff options
-rwxr-xr-x | packaging/installer/install-required-packages.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/packaging/installer/install-required-packages.sh b/packaging/installer/install-required-packages.sh index 79423b50a4..9bd566db92 100755 --- a/packaging/installer/install-required-packages.sh +++ b/packaging/installer/install-required-packages.sh @@ -1833,8 +1833,11 @@ if [[ "${pv}" =~ ^Python\ 2.* ]]; then elif [[ "${pv}" =~ ^Python\ 3.* ]]; then pv=3 PACKAGES_NETDATA_PYTHON3=1 -else +elif [[ "${tree}" == "centos" ]] && [ "${version}" -lt 8 ]; then pv=2 +else + pv=3 + PACKAGES_NETDATA_PYTHON3=1 fi [ "${detection}" = "/etc/os-release" ] && cat << EOF |