ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/magic/linux/instal_aster.bash
(Generate patch)

Comparing magic/linux/instal_aster.bash (file contents):
Revision 574 by francois, Mon Oct 20 16:04:31 2014 UTC vs.
Revision 704 by francois, Wed Aug 19 03:20:37 2015 UTC

# Line 25 | Line 25 | if [ $1 == 11.5 ];
25   then
26   version=11.5
27   else
28 + if [ $1 == 11.7 ];
29 + then
30 + version=11.7
31 + else
32   echo "Version "$1" non supportée"
33   exit
34   fi
35   fi
36   fi
37 + fi
38   echo "Checking / Installing dependencies"
39 < tabdep=(gfortran python g++ gcc python-dev python-numpy python-qt4 tk bison flex libblas-dev liblapack-dev)
39 > tabdep=(gfortran python g++ gcc python-dev python-numpy python-qt4 tk bison flex libblas-dev liblapack-dev libmotif-dev)
40   echo "Dependance a verifier :"${#tabdep[*]}
41   for i in ${!tabdep[*]};
42   do
# Line 40 | Line 45 | dpkg -s $nomdep  >> /dev/null 2>&1
45   if [ $? == 1 ];
46   then
47   echo $nomdep...............FAIL
48 < sudo apt-get install $nomdep  
48 > sudo apt-get -y install $nomdep  
49   else
50   echo $nomdep...............ok
51   fi
# Line 55 | Line 60 | echo "installation code aster "$version"
60   echo "installation code aster "$version
61   cd $__DIR
62  
63 + if [ $version == 11.7 ];
64 + then
65 + wget http://ericca.uqtr.ca/aster-full-src-11.7.0-1.noarch.tar.gz
66 + tar -zxf aster-full-src-11.7.0-1.noarch.tar.gz
67 + cd aster-full-src-11.7.0
68 + fi
69 +
70   if [ $version == 11.6 ];
71   then
72   wget http://ericca.uqtr.ca/aster-full-src-11.6.0-1.noarch.tar.gz

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines