From: Kern Sibbald Date: Wed, 9 Dec 2009 13:23:42 +0000 (+0100) Subject: Fix CentOS/RHEL detection X-Git-Tag: Release-7.0.0~2484 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=5d6c38f355d036330171e9da66c0a7492dbae629;p=bacula%2Fbacula Fix CentOS/RHEL detection --- diff --git a/regress/scripts/get-os b/regress/scripts/get-os index a711004233..aaff2cd705 100755 --- a/regress/scripts/get-os +++ b/regress/scripts/get-os @@ -387,9 +387,9 @@ elif test -f /etc/redhat-release then if test `grep -q CentOS /etc/redhat-release` then - DISTNAME=redhat - else DISTNAME=centos + else + DISTNAME=redhat fi elif test -f /etc/gentoo-release then