3 ####################################################################################
4 # File : release_notes.sh
5 # Created : Tue Oct 30 11:11:23 2006
6 # Author : Vadim SANDLER, Open CASCADE SAS (vadim.sandler@opencascade.com)
8 # Module : Installation Wizard
9 # Copyright : 2002-2007 CEA
11 # This script is the part of the SALOME installation procedure.
13 ####################################################################################
15 # This procedure checks if the Release Notes file can be shown.
16 # Returns 0 in success and 1 if any error occurs.
19 ROOT_DIR=`(cd ${SRC_DIR}\.. ; pwd)`;
20 if [ "${ROOT_DIR}" != "" ] ; then
21 rn_files=`find ${ROOT_DIR} -name "*Release_Notes.pdf"`
22 if [ "$?" == "0" ] && [ "$rn_files" != "" ] ; then
29 # This procedure is used to show Release Notes file.
30 # Returns 0 in success and 1 if any error occurs.
33 ROOT_DIR=`(cd ${SRC_DIR}\.. ; pwd)`;
34 if [ "${ROOT_DIR}" != "" ] ; then
35 rn_file=`find ${ROOT_DIR} -name "*Release_Notes.pdf"`
36 if [ "$?" == "0" ] && [ "$rn_file" != "" ] ; then
37 xpdf=`which xpdf >& /dev/null`
38 if [ "$?" == "0" ] ; then
47 # Set general usage variables from the command line parameters:
48 # $0 is the path to this script itself
49 # $1 is the name of the procedure to be run
50 # $2 is the installation directory path
51 # $3 is the temporary directory path
52 SCRIPT_DIR=`dirname $0`