From: Gary Lowell Date: Wed, 31 Jul 2013 09:32:59 +0000 (-0700) Subject: get_rpm_dist.sh: Add rhel6 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=cf522262eef0d78c88c309d90ab1f628d86062e8;p=ceph-build.git get_rpm_dist.sh: Add rhel6 Signed-off-by: Gary Lowell --- diff --git a/get_rpm_dist.sh b/get_rpm_dist.sh index 012bc7e79..b515c74a0 100755 --- a/get_rpm_dist.sh +++ b/get_rpm_dist.sh @@ -6,6 +6,10 @@ LSB_RELEASE=/usr/bin/lsb_release ID=`$LSB_RELEASE --short --id` case $ID in +RedHatEnterpriseServer) + RELEASE=`$LSB_RELEASE --short --release | cut -d. -f1` + DIST=rhel$RELEASE + ;; CentOS) RELEASE=`$LSB_RELEASE --short --release | cut -d. -f1` DIST=el$RELEASE