forked from github/server
do not try to install lunitx if already installed
This commit is contained in:
parent
5890db482a
commit
48ad550527
|
@ -6,7 +6,9 @@ pkg-config --exists sqlite3 && ERESSEA_DB=sqlite
|
||||||
GETOPT=getopt
|
GETOPT=getopt
|
||||||
GETOPT_LONG=1
|
GETOPT_LONG=1
|
||||||
|
|
||||||
|
if [ -z "$(luarocks which lunitx)" ] ; then
|
||||||
luarocks install lunitx --local
|
luarocks install lunitx --local
|
||||||
|
fi
|
||||||
if [ "Darwin" = "$(uname)" ] ; then
|
if [ "Darwin" = "$(uname)" ] ; then
|
||||||
if [ -x "/usr/local/opt/gnu-getopt/bin/getopt" ] ; then
|
if [ -x "/usr/local/opt/gnu-getopt/bin/getopt" ] ; then
|
||||||
GETOPT="/usr/local/opt/gnu-getopt/bin/getopt"
|
GETOPT="/usr/local/opt/gnu-getopt/bin/getopt"
|
||||||
|
|
Loading…
Reference in New Issue