Update index.py
This commit is contained in:
parent
64536145be
commit
0688b9f194
|
|
@ -301,7 +301,7 @@ def initdInstall(version):
|
|||
if mw.isAppleSystem():
|
||||
return "Apple Computer does not support"
|
||||
|
||||
mw.execShell('systemctl enable php' + version)
|
||||
data = mw.execShell('systemctl enable php' + version)
|
||||
if data[0] == '':
|
||||
return 'fail'
|
||||
return 'ok'
|
||||
|
|
@ -311,7 +311,7 @@ def initdUinstall(version):
|
|||
if mw.isAppleSystem():
|
||||
return "Apple Computer does not support"
|
||||
|
||||
mw.execShell('systemctl disable php' + version)
|
||||
data = mw.execShell('systemctl disable php' + version)
|
||||
if data[0] == '':
|
||||
return 'fail'
|
||||
return 'ok'
|
||||
|
|
|
|||
Loading…
Reference in New Issue