tokarchuk/v1.17
Lunny Xiao 11 years ago
parent 6177849fce
commit d374b13d44
  1. 2
      models/repo.go

@ -262,7 +262,7 @@ func initRepository(f string, user *User, repo *Repository, initReadme bool, rep
} }
// hook/post-update // 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 { if err != nil {
return err return err
} }

Loading…
Cancel
Save