remove check for julia; not a project concern

This commit is contained in:
mollusk 2018-11-26 21:19:54 -07:00
parent 653780457d
commit f99e5c9b00

View File

@ -1,22 +1,21 @@
#!/bin/bash #!/bin/bash
INSTALLPATH="/usr/local/bin" INSTALLPATH="/usr/bin"
which () #which ()
{ # {
(alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@ # (alias; declare -f) | /usr/bin/which --tty-only --read-alias --read-functions --show-tilde --show-dot $@
} # }
export -f which # export -f which
which julia &> /dev/null #which julia #&> /dev/null
#if [ "$?" = 1 ];then
if [ $? != 0 ];then # echo -e -n "\nJulia is not installed, proceed?(Y/n): "
echo -e -n "\nJulia is not installed, proceed?(Y/n): " # read confirm
read confirm #
# if [ "${confirm}" = "n" ];then
if [ "${confirm}" = "n" ];then # exit 0;
exit 0; # fi
fi #fi
fi