From: Kern Sibbald Date: Wed, 9 Dec 2009 13:23:42 +0000 (+0100) Subject: Fix CentOS/RHEL detection X-Git-Tag: Release-5.0.0~167 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f7df6ba444d9004877d18151269cd23c17ae8912;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