From 68e7a5c433c2ec014a45e59ba59b91acfc79a0a5 Mon Sep 17 00:00:00 2001 From: vsr Date: Tue, 13 May 2008 15:34:17 +0000 Subject: [PATCH] Remove obsolete files --- config_files/omniORB-4.0.6.sh | 197 ---------------------------------- 1 file changed, 197 deletions(-) delete mode 100755 config_files/omniORB-4.0.6.sh diff --git a/config_files/omniORB-4.0.6.sh b/config_files/omniORB-4.0.6.sh deleted file mode 100755 index b68ab28..0000000 --- a/config_files/omniORB-4.0.6.sh +++ /dev/null @@ -1,197 +0,0 @@ -#!/bin/bash -noprofile - -#################################################################################### -# File : omniORB-4.0.6.sh -# Created : Thu Dec 18 12:01:00 2002 -# Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com) -# Project : SALOME -# Module : Installation Wizard -# Copyright : 2002-2008 CEA -# -# This script is the part of the SALOME installation procedure. -# -#################################################################################### - -check_version() -{ -if [ -z "${OMNIORBDIR}" ]; then - #echo "OMNIORBDIR doesn't set" - return 1 -fi -python_version="`python -c 'import sys; print sys.version[:3]'`" -check_lib_version libomniORB4.so.0.6 ${OMNIORBDIR}/lib -if [ "$?" -ne "0" ]; then - return 1 -fi -check_lib_version _omnipymodule.so.2.6 ${OMNIORBDIR}/lib/python${python_version}/site-packages -if [ "$?" -ne "0" ]; then - return 1 -fi -check_lib_version libCOSNotify4.so.0.1 ${OMNIORBDIR}/lib -if [ "$?" -ne "0" ]; then - return 1 -fi -check_lib_version notifd ${OMNIORBDIR}/bin -if [ "$?" -ne "0" ]; then - return 1 -fi -return 0 -} - -print_env() -{ -cat > ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh < ${PRODUCT_DIR}/.omniORB.cfg < ${INSTALL_WORK}/env_${PRODUCT_TYPE}.sh <> ${PRODUCT_DIR}/MAKE_OMNIORB.LOG <> ${PRODUCT_DIR}/MAKE_OMNIORBPY.LOG <> ${PRODUCT_DIR}/MAKE_OMNINOTIFY.LOG < _omniidl -mv -f _omniidl omniidl -chmod a+x omniidl -sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidlrun.py > _omniidlrun.py -mv -f _omniidlrun.py omniidlrun.py -chmod a+x omniidlrun.py - -#du -sk ${PRODUCT_WORK} > ${PRODUCT_DIR}/size.log -cd ${PRODUCT_DIR} -rm -fr ${INSTALL_WORK}/omniORB-4.0.6 -rm -fr ${INSTALL_WORK}/omniORBpy-2.6 -rm -fr ${INSTALL_WORK}/omniNotify -print_env -} - -install_binary() -{ -make_env ${INSTALL_ROOT} ${INSTALL_WORK} "${PRODUCT_SEQUENCE}" ${PRODUCT_TYPE} -source ${INSTALL_WORK}/$SHRC - -check_jb tar xfz ${SOURCE_DIR}/omniORB-4.0.6.tar.gz -C ${INSTALL_ROOT} - -ln -sf ${PRODUCT_DIR} ${INSTALL_ROOT}/omni - -cd ${PRODUCT_DIR}/bin -sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidl > _omniidl -mv -f _omniidl omniidl -chmod a+x omniidl -sed -e "s%#\!.*python%#\!/usr/bin/env python%" omniidlrun.py > _omniidlrun.py -mv -f _omniidlrun.py omniidlrun.py -chmod a+x omniidlrun.py - -print_env -} - -export PROCEDURE=$1; -export INSTALL_WORK=$2; -export SOURCE_DIR=$3; -export INSTALL_ROOT=$4; -export PRODUCT_SEQUENCE=$5; -if [ $# == 6 ] ; then export PRODUCT_TYPE=$6 ; else export PRODUCT_TYPE="omni" ; fi -export PRODUCT="omniORB-4.0.6" -export PRODUCT_DIR=${INSTALL_ROOT}/${PRODUCT} -export PRODUCT_WORK=${INSTALL_WORK}/${PRODUCT} -source ./common.sh -$PROCEDURE -- 2.39.2