GHA: Tidy up scilab install

This commit is contained in:
William S Fulton 2022-02-26 20:48:07 +00:00
commit 9525d75533
2 changed files with 1 additions and 7 deletions

View file

@ -29,11 +29,5 @@ case "$SWIGLANG" in
set -x
fi
;;
"scilab")
# Travis has the wrong version of Java pre-installed resulting in error using scilab:
# /usr/bin/scilab-bin: error while loading shared libraries: libjava.so: cannot open shared object file: No such file or directory
echo "JAVA_HOME was set to $JAVA_HOME"
unset JAVA_HOME
;;
*) ;;
esac

View file

@ -138,7 +138,7 @@ case "$SWIGLANG" in
;;
"scilab")
if [[ -z "$VER" ]]; then
$RETRY sudo apt-get -qq install scilab scilab-include
$RETRY sudo apt-get -qq install scilab
else
$RETRY wget --progress=dot:giga "https://www.scilab.org/download/$VER/scilab-$VER.bin.linux-x86_64.tar.gz"
# $HOME/.local/bin is in PATH and writeable