Modification des condition pour le /dbs
This commit is contained in:
parent
3292083c2b
commit
215c193982
@ -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 !"; `mkdir /dbs/sphinx` fi
|
||||
if [ ! -e /dbs/sphinx ];then `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
|
||||
|
Loading…
Reference in New Issue
Block a user