Update index.py

This commit is contained in:
midoks
2022-11-30 14:46:53 +08:00
parent 0962e5aab8
commit febe56f430
+1 -1
View File
@@ -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')