From 004fb30ebe403625b2315b284a85124611ba303b Mon Sep 17 00:00:00 2001 From: Unknwon Date: Sat, 19 Mar 2016 20:31:23 -0400 Subject: [PATCH] Remove code for checking ssh-keygen --- gogs.go | 2 +- modules/setting/setting.go | 6 ------ templates/.VERSION | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/gogs.go b/gogs.go index 2a6fd3b5a..43bc7a68b 100644 --- a/gogs.go +++ b/gogs.go @@ -17,7 +17,7 @@ import ( "github.com/gogits/gogs/modules/setting" ) -const APP_VER = "0.9.13.0318" +const APP_VER = "0.9.13.0319" func init() { runtime.GOMAXPROCS(runtime.NumCPU()) diff --git a/modules/setting/setting.go b/modules/setting/setting.go index 2fbc1f2cd..92eb04de9 100644 --- a/modules/setting/setting.go +++ b/modules/setting/setting.go @@ -361,12 +361,6 @@ func NewContext() { } else if err = os.MkdirAll(SSH.KeyTestPath, 0644); err != nil { log.Fatal(4, "Fail to create '%s': %v", SSH.KeyTestPath, err) } - - if !filepath.IsAbs(SSH.KeygenPath) { - if _, err := exec.LookPath(SSH.KeygenPath); err != nil { - log.Fatal(4, "Fail to test '%s' command: %v (forgotten install?)", SSH.KeygenPath, err) - } - } } SSH.MinimumKeySizeCheck = sec.Key("MINIMUM_KEY_SIZE_CHECK").MustBool() diff --git a/templates/.VERSION b/templates/.VERSION index 8655bc2f0..6a20966ed 100644 --- a/templates/.VERSION +++ b/templates/.VERSION @@ -1 +1 @@ -0.9.13.0318 \ No newline at end of file +0.9.13.0319 \ No newline at end of file