3 ####################################################################################
5 # The script is the part of the SALOME installation procedure.
6 # This script is used to show SALOME Release Notes.
8 # Copyright : 2006 CEA/DEN, EDF R&D
9 ####################################################################################
11 # This procedure checks if the Release Notes file can be shown.
12 # Returns 0 in success and 1 if any error occurs.
15 ROOT_DIR=`(cd ${SRC_DIR}\.. ; pwd)`;
16 if [ "${ROOT_DIR}" != "" ] ; then
17 rn_files=`find ${ROOT_DIR} -name "*Release_Notes.pdf"`
18 if [ "$?" == "0" ] && [ "$rn_files" != "" ] ; then
25 # This procedure is used to show Release Notes file.
26 # Returns 0 in success and 1 if any error occurs.
29 ROOT_DIR=`(cd ${SRC_DIR}\.. ; pwd)`;
30 if [ "${ROOT_DIR}" != "" ] ; then
31 rn_file=`find ${ROOT_DIR} -name "*Release_Notes.pdf"`
32 if [ "$?" == "0" ] && [ "$rn_file" != "" ] ; then
33 xpdf=`which xpdf >& /dev/null`
34 if [ "$?" == "0" ] ; then
43 # Set general usage variables from the command line parameters:
44 # $0 is the path to this script itself
45 # $1 is the name of the procedure to be run
46 # $2 is the installation directory path
47 # $3 is the temporary directory path
48 SCRIPT_DIR=`dirname $0`