mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
work on #470 and fix miror JS issue when choose targets on compare and pull
This commit is contained in:
@@ -173,6 +173,7 @@ func InstallPost(ctx *middleware.Context, form auth.InstallForm) {
|
||||
ctx.HTML(200, INSTALL)
|
||||
return
|
||||
}
|
||||
return
|
||||
|
||||
if _, err := exec.LookPath("git"); err != nil {
|
||||
ctx.RenderWithErr(ctx.Tr("install.test_git_failed", err), INSTALL, &form)
|
||||
|
Reference in New Issue
Block a user