summaryrefslogtreecommitdiff
path: root/OSCAD/Examples/BJT_amplifier/Untitled Document 1
blob: efd848b0628210a5b556c5239df9f878aecd9c1f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
echo "Checking scilab ......................"
command -v scilab >/dev/null 2>&1
RetVal=$?
if [ $RetVal -eq 0 ] 
then 
  scilabPATH="/usr/bin/scilab"
.........
..........
.........
.....................

.....................
    fi
  else 
    if [ $linuxVersion = "x86_64" ]
    then
      echo -e " \e[1m Please download scilab 5.4.0 for 64 bits (Linux) from http://www.scilab.org/products/scilab/download \e[0m"
    else
      echo -e " \e1m' Please download scilab 5.4.0 for 32 bits (Linux) from http://www.scilab.org/products/scilab/download '\e[0m'"
    fi
    echo " And re-run install_OSCAD.sh "
    exit 1   
  fi
fi