From 1a8492a0a7de8710342d02bc1142380eb190ca12 Mon Sep 17 00:00:00 2001 From: Damien LASSERRE Date: Tue, 8 Nov 2011 14:50:38 +0000 Subject: [PATCH] =?UTF-8?q?Modification=20du=20/dbs/sphinx=20il=20peut=20c?= =?UTF-8?q?r=C3=A9er=20le=20dossier?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sphinx.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sphinx.sh b/Sphinx.sh index 3f23075..2028907 100755 --- a/Sphinx.sh +++ b/Sphinx.sh @@ -65,7 +65,7 @@ then '--install') if [ ! -e /dbs ];then echo -e "/dbs not exist !"; exit; fi if [ ! -e tmp ];then `mkdir tmp`; fi - if [ ! -e /dbs/sphinx ];then echo -e "/dbs/sphinx Doesn't exist !"; exit; fi + if [ ! -e /dbs/sphinx ];then echo -e "/dbs/sphinx Doesn't exist !"; `mkdir /dbs/sphinx` fi if [ ! -e /usr/local/sphinx ];then `mkdir /dbs/sphinx`; fi if [ ! -e /dbs/sphinxlog ];then `mkdir /dbs/sphinxlog`; fi if [ ! -e /init.d/sphinxsearch ];then `cp initscript/sphinxsearch /etc/init.d/ > /dev/null` ;`chmod +x /etc/init.d/sphinxsearch > /dev/null`; `update-rc.d sphinxsearch defaults > /dev/null`; fi