@cryptotaxi247 / netdata-1 / commits / ff4eb9c8c

Fix cosmetic error checking for CentOS 8 version in install-required-packages (#8339)

* Fix cosmetic error checking for CentOS 8 version in install-required-packages * Fix CentOS 8 regex to count for lone 8

James Mills committed Mar 10, 2020 at 08:21 UTC ff4eb9c8cbb0a614f6573209cd5b097662d0c490
1 file changed +1 -1
packaging/installer/install-required-packages.sh
+1 -1
@@ -1323,7 +1323,7 @@ validate_tree_centos() {
1323 fi
1324 fi
1325
1326 - if [ "$version" -eq 8 ]; then
1326 + if [[ "${version}" =~ ^8(\..*)?$ ]]; then
1327 echo >&2 " > Checking for config-manager ..."
1328 if ! run yum ${sudo} config-manager; then
1329 if prompt "config-manager not found, shall I install it?"; then