From: inv Date: Fri, 2 Dec 2011 07:42:44 +0000 (+0000) Subject: Update for CentOS X-Git-Tag: V6_4_0~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=46f68f566df530af11f69c25071cad7d901a95e6;p=tools%2Finstall.git Update for CentOS --- 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