pull/109/head
Mr Chen 6 years ago
parent 47ccce62cb
commit f94acef905
  1. 9
      plugins/sphinx/index.py
  2. 3
      plugins/sphinx/install.sh

@ -129,10 +129,11 @@ def initDreplace():
file_bin = initD_path + '/' + getPluginName()
# initd replace
content = public.readFile(file_tpl)
content = contentReplace(content)
public.writeFile(file_bin, content)
public.execShell('chmod +x ' + file_bin)
if not os.path.exists(file_bin):
content = public.readFile(file_tpl)
content = contentReplace(content)
public.writeFile(file_bin, content)
public.execShell('chmod +x ' + file_bin)
# config replace
conf_bin = getConf()

@ -11,6 +11,9 @@ sysName=`uname`
install_tmp=${rootPath}/tmp/bt_install.pl
yum install -y postgresql-libs unixODBC
Install_sphinx()
{

Loading…
Cancel
Save