From 46f68f566df530af11f69c25071cad7d901a95e6 Mon Sep 17 00:00:00 2001 From: inv Date: Fri, 2 Dec 2011 07:42:44 +0000 Subject: [PATCH] Update for CentOS --- config_files/OCCT-6.5.2.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/config_files/OCCT-6.5.2.sh b/config_files/OCCT-6.5.2.sh index df5a7e1..9811ed6 100755 --- a/config_files/OCCT-6.5.2.sh +++ b/config_files/OCCT-6.5.2.sh @@ -134,8 +134,12 @@ if [ -e /etc/issue ] ; then if [ $? == 0 ] ; then is_debian60=1 ; fi fi +if [ -e /etc/issue ] ; then +grep -e "CentOS release 5.5" /etc/issue > /dev/null + if [ $? == 0 ] ; then is_centos=1 ; fi +fi -if [ $is_mandriva2008 == 1 ] || [ $is_mandriva2010 == 1 ] || [ $is_debian40 == 1 ] || [ $is_debian50 == 1 ] || [ $is_debian60 == 1 ] ; then +if [ $is_centos == 1 ] || [ $is_mandriva2008 == 1 ] || [ $is_mandriva2010 == 1 ] || [ $is_debian40 == 1 ] || [ $is_debian50 == 1 ] || [ $is_debian60 == 1 ] ; then where_xmu_include=/usr/include else where_xmu_include=/usr/X11R6/include -- 2.39.2