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
|
#!/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
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user