]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
*** empty log message ***
authormaintenance team <salome-mnt@opencascade.com>
Wed, 21 Oct 2009 07:42:04 +0000 (07:42 +0000)
committermaintenance team <salome-mnt@opencascade.com>
Wed, 21 Oct 2009 07:42:04 +0000 (07:42 +0000)
config_Debian_4.0_64bit.xml
config_files/MULTIPR.sh

index eb94512be594b3f6a5b09e758ca3585474025647..bc2cab06a5e3873405156406f28fa5fe0b1832e8 100755 (executable)
             description="Partitioning/decimation module for the SALOME platform">
       <installation os="Debian 4.0 64bit"
                     version="5.1.3" 
-                   disable="true"
+                   disable="false"
                    installdiskspace="208,221,2958"
                    script="MULTIPR.sh"/>
     </product>
     </product>
     <product name="libBatch" 
             type="prerequisite"
-             description="libBatch is ">
+             description="Generic batch management library">
       <installation os="Debian 4.0 64bit"
                     version="1.0.0" 
                    disable="false"
                    script="libxml2-2.7.3.sh"/>
     </product>
   </products>
-
   <dependencies>
     <product name="KERNEL">
       <dep>boost</dep>
       <dep>Graphviz</dep>
       <dep>docutils</dep>
       <dep>libxml2</dep>
+      <dep>libBatch</dep>
     </product>
     <product name="GUI">
       <dep>boost</dep>
index 0e9e116c078017b0df6734badf1dda42f53669be..eeec79882e5eee8b4c3cf4406a31068e781164a9 100755 (executable)
@@ -14,8 +14,9 @@
 
 check_version(){
 if [ -n "${MULTIPR_ROOT_DIR}" ]; then
-    if [ -f ${MULTIPR_ROOT_DIR}/bin/salome/VERSION ]; then
-       ver=`cat ${MULTIPR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $NF}' | tr -d '[:space:]' ` 
+    check_lib_version VERSION ${MULTIPR_ROOT_DIR}/bin/salome
+    if [ "$?" -eq "0" ]; then
+       ver=`cat ${MULTIPR_ROOT_DIR}/bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]' ` 
        if [ "$ver" = "${SALOME_VERSION}" ]; then
            return 0
        fi
@@ -66,7 +67,7 @@ install_source()
 {
 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE}_src
 source ${INSTALL_WORK}/$SHRC
-
+# unpack
 check_jb tar xfz ${SOURCE_DIR}/MULTIPRsourcesV${SALOME_VERSION}.tar.gz -C ${INST_ROOT}
 
 # to generate environment scripts