Update index.py

pull/624/head
Mr Chen 8 months ago
parent ed10a050bc
commit cec5fc594f
  1. 2
      plugins/gitea/index.py

@ -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):

Loading…
Cancel
Save