]> git.sur5r.net Git - bacula/bacula/blobdiff - regress/scripts/get-os
update configure
[bacula/bacula] / regress / scripts / get-os
index a71100423395b4c9ca570f0524d6901b6e546f41..b14b7880227ee2cd276768e8c1e16e766def806a 100755 (executable)
@@ -385,11 +385,11 @@ then
        DISTNAME=redhat
 elif test -f /etc/redhat-release
 then
-       if test `grep -q CentOS /etc/redhat-release`
+       if grep -q CentOS /etc/redhat-release
        then
-           DISTNAME=redhat
-       else
            DISTNAME=centos
+       else
+           DISTNAME=redhat
        fi
 elif test -f /etc/gentoo-release
 then