|
|
|
@ -138,6 +138,8 @@ def initDreplace(): |
|
|
|
|
git_dir = mw.getServerDir() + '/git' |
|
|
|
|
if not os.path.exists(git_dir): |
|
|
|
|
mw.execShell('mkdir -p ' + git_dir) |
|
|
|
|
mw.execShell('chown -R www:www ' + git_dir) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
initD_path = getServerDir() + '/init.d' |
|
|
|
|
if not os.path.exists(initD_path): |
|
|
|
|