remove check for julia; not a project concern
This commit is contained in:
parent
653780457d
commit
f99e5c9b00
31
install.sh
31
install.sh
@ -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
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user