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