summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2016-03-19 20:31:23 -0400
committerUnknwon <u@gogs.io>2016-03-19 20:31:23 -0400
commit004fb30ebe403625b2315b284a85124611ba303b (patch)
treeab048ff3569b713b56d3faa9be7889ee369e6d9b
parent3fb4f7f4980b4339fd9ef6a3ba5b0acab83d264d (diff)
downloadgitea-004fb30ebe403625b2315b284a85124611ba303b.tar.gz
gitea-004fb30ebe403625b2315b284a85124611ba303b.zip
Remove code for checking ssh-keygen
-rw-r--r--gogs.go2
-rw-r--r--modules/setting/setting.go6
-rw-r--r--templates/.VERSION2
3 files changed, 2 insertions, 8 deletions
diff --git a/gogs.go b/gogs.go
index 2a6fd3b5a6..43bc7a68b1 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 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