Update index.py

This commit is contained in:
midoks
2019-09-12 22:49:35 +08:00
parent 50706f9286
commit 440f68529c
+2 -2
View File
@@ -183,9 +183,9 @@ def initdInstall():
if public.isAppleSystem():
return "Apple Computer does not support"
mysql_bin = initDreplace()
p_bin = initDreplace()
initd_bin = getInitDFile()
shutil.copyfile(mysql_bin, initd_bin)
shutil.copyfile(p_bin, initd_bin)
public.execShell('chmod +x ' + initd_bin)
public.execShell('chkconfig --add ' + getPluginName())
return 'ok'