From 93a1b3252a6bb40b79a94920889970a07a1e68ff Mon Sep 17 00:00:00 2001 From: SJ Date: Sat, 28 Sep 2013 22:36:36 +0200 Subject: [PATCH] build fix --- util/postinstall.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/postinstall.sh.in b/util/postinstall.sh.in index 51f2e6e4..f98ba43e 100755 --- a/util/postinstall.sh.in +++ b/util/postinstall.sh.in @@ -226,7 +226,7 @@ gather_sphinx_data() { if [ $INDEXER = "/usr/bin/indexer" ]; then SPHINXCFG="/etc/sphinx.conf"; fi - if [ -f /etc/sphinxsearch/sphinx.conf || -f /etc/sphinxsearch/sphinx.conf.sample ]; then SPHINXCFG="/etc/sphinxsearch/sphinx.conf"; fi + if test -f /etc/sphinxsearch/sphinx.conf || test -f /etc/sphinxsearch/sphinx.conf.sample ; then SPHINXCFG="/etc/sphinxsearch/sphinx.conf"; fi askNonBlank "Please enter the path of sphinx.conf" "$SPHINXCFG" SPHINXCFG=$response