1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00

bug fixed

This commit is contained in:
Lunny Xiao 2014-03-26 00:19:18 +08:00
parent 6177849fce
commit d374b13d44

View file

@ -262,7 +262,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
}
// hook/post-update
pu, err := os.OpenFile(filepath.Join(repoPath, "hooks", "post-update"), os.O_CREATE|os.O_WRONLY, 0777)
pu, err := os.OpenFile(filepath.Join(repoPath, "hooks", "update"), os.O_CREATE|os.O_WRONLY, 0777)
if err != nil {
return err
}