浏览代码

updates to fix install script for RHEL

fixing install script for rhel7

fixing install script for rhel7

Signed-off-by: Adam Kunk <adam.kunk@tiaa-cref.org>

updates to fix install script for RHEL

fixing install script for rhel7

fixing install script for rhel7

Signed-off-by: Adam Kunk <adam.kunk@tiaa-cref.org>
(cherry picked from commit 485c27e18680f5eaeefe5de7f7916ba23f66c8f0)
Adam Kunk 9 年之前
父节点
当前提交
d83a27471b
共有 1 个文件被更改,包括 6 次插入0 次删除
  1. 6 0
      hack/install.sh

+ 6 - 0
hack/install.sh

@@ -251,6 +251,12 @@ do_install() {
 
 	lsb_dist="$(echo "$lsb_dist" | tr '[:upper:]' '[:lower:]')"
 
+	# Special case redhatenterpriseserver
+	if [ "${lsb_dist}" = "redhatenterpriseserver" ]; then
+        	# Set it to redhat, it will be changed to centos below anyways
+        	lsb_dist='redhat'
+	fi
+
 	case "$lsb_dist" in
 
 		ubuntu)