]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
get_rpm_dist.sh: Add rhel6
authorGary Lowell <gary.lowell@inktank.com>
Wed, 31 Jul 2013 09:32:59 +0000 (02:32 -0700)
committerGary Lowell <gary.lowell@inktank.com>
Wed, 31 Jul 2013 09:32:59 +0000 (02:32 -0700)
Signed-off-by: Gary Lowell <gary.lowell@inktank.com>
get_rpm_dist.sh

index 012bc7e79f881326b05996679ebbe38e1696a98c..b515c74a0f373ca80bbf6b44b95daeee55ea78be 100755 (executable)
@@ -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