Add rhel6 as an allowed distro

Add RHEL6 based distributions as a valid install target

Change-Id: I89fb68d18a0d2079493be93b230162679123881d
This commit is contained in:
Ian Wienand 2013-04-11 11:15:57 +10:00
parent 41f7485250
commit 2578565d55

View File

@ -105,7 +105,7 @@ disable_negated_services
# Warn users who aren't on an explicitly supported distro, but allow them to
# override check and attempt installation with ``FORCE=yes ./stack``
if [[ ! ${DISTRO} =~ (oneiric|precise|quantal|raring|f16|f17|f18|opensuse-12.2) ]]; then
if [[ ! ${DISTRO} =~ (oneiric|precise|quantal|raring|f16|f17|f18|opensuse-12.2|rhel6) ]]; then
echo "WARNING: this script has not been tested on $DISTRO"
if [[ "$FORCE" != "yes" ]]; then
die $LINENO "If you wish to run this script anyway run with FORCE=yes"