From 095e6e036139eb7d2d1f13f6e222bb73aba8ae95 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Sun, 4 Aug 2013 17:10:36 +0100 Subject: [PATCH] Fix distributions testing packages support check. --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index 6416f07..68a051d 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -882,7 +882,7 @@ fi # Only RedHat based distros have testing support if [ ${ITYPE} = "testing" ]; then - if [ "$(echo ${DISTRO_NAME_L} | egrep 'centos|red_hat|amazon')x" != "x" ]; then + if [ "$(echo ${DISTRO_NAME_L} | egrep '(centos|red_hat|amazon)')x" = "x" ]; then echoerror "${DISTRO_NAME} does not have testing packages support" exit 1 fi