From cf522262eef0d78c88c309d90ab1f628d86062e8 Mon Sep 17 00:00:00 2001 From: Gary Lowell Date: Wed, 31 Jul 2013 02:32:59 -0700 Subject: [PATCH] get_rpm_dist.sh: Add rhel6 Signed-off-by: Gary Lowell --- get_rpm_dist.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/get_rpm_dist.sh b/get_rpm_dist.sh index 012bc7e7..b515c74a 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 -- 2.39.5