diff options
author | Unknwon <u@gogs.io> | 2016-03-19 20:31:23 -0400 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2016-03-19 20:31:23 -0400 |
commit | 004fb30ebe403625b2315b284a85124611ba303b (patch) | |
tree | ab048ff3569b713b56d3faa9be7889ee369e6d9b | |
parent | 3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d (diff) | |
download | gitea-004fb30ebe403625b2315b284a85124611ba303b.tar.gz gitea-004fb30ebe403625b2315b284a85124611ba303b.zip |
Remove code for checking ssh-keygen
-rw-r--r-- | gogs.go | 2 | ||||
-rw-r--r-- | modules/setting/setting.go | 6 | ||||
-rw-r--r-- | templates/.VERSION | 2 |
3 files changed, 2 insertions, 8 deletions
@@ -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 2fbc1f2cdc..92eb04de97 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 8655bc2f03..6a20966ed1 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 |