mirror of
https://gitee.com/gitea/gitea
synced 2025-12-28 03:06:36 +08: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