Update index.py

pull/282/head
midoks 2 years ago
parent 0962e5aab8
commit febe56f430
  1. 2
      plugins/gitea/index.py

@ -597,7 +597,7 @@ def projectScriptLoad():
path = getRootPath() + '/' + user + '/' + name
post_receive_tpl = getPluginDir() + '/hook/post-receive.tpl'
post_receive = path + '/custom_hooks/post-receive'
post_receive = path + '/hooks/post-receive.d/post-receive'
if not os.path.exists(path + '/custom_hooks'):
mw.execShell('mkdir -p ' + path + '/custom_hooks')

Loading…
Cancel
Save