From febe56f430cd9553278f69b14a4057d7af66b223 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 30 Nov 2022 14:46:53 +0800 Subject: [PATCH] Update index.py --- plugins/gitea/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/gitea/index.py b/plugins/gitea/index.py index f13e7ef16..3570cbf8f 100755 --- a/plugins/gitea/index.py +++ b/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')