]> SALOME platform Git repositories - tools/install.git/commitdiff
Salome HOME
createAppli is no more required
authorvsr <vsr@opencascade.com>
Mon, 9 Dec 2013 05:28:03 +0000 (05:28 +0000)
committervsr <vsr@opencascade.com>
Mon, 9 Dec 2013 05:28:03 +0000 (05:28 +0000)
config_files/KERNEL.sh

index caadd80dfde4c29784645952bc2b32a623055502..c57e746249041a732e17918b5423b6c3a9b12acb 100755 (executable)
@@ -133,7 +133,7 @@ try_preinstalled
 pickup_env()
 {
 make_env ${INST_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" "${INSTALL_PRODUCTS}" ${PRODUCT_TYPE} ${PRODUCT_DIR}
-if [ -d ${PRODUCT_DIR} ] ; then
+if [ -f ${PRODUCT_DIR}/bin/salome/createAppli.sh ] ; then
     pushd ${PRODUCT_DIR} > /dev/null
     version=`cat bin/salome/VERSION | awk -F: '{print $2}' | tr -d '[:space:]'`
     dir="${HOME}/salome_appli_${version}"