From 369598986618cc42b9d23b87f606daa4557adf0a Mon Sep 17 00:00:00 2001 From: ibuler Date: Sat, 19 Dec 2015 20:31:06 +0800 Subject: [PATCH] fix install bug --- README.md | 2 ++ install/install.py | 3 +-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index e733655c2..cd1d53f06 100644 --- a/README.md +++ b/README.md @@ -52,6 +52,8 @@ Web批量执行命令 [Jumpserver官网](http://www.jumpserver.org) +[论坛](http://bbs.jumpserver.org) + [demo站点](http://demo.jumpserver.org) ### 团队 diff --git a/install/install.py b/install/install.py index 70dcb2b78..055dbe771 100755 --- a/install/install.py +++ b/install/install.py @@ -193,7 +193,7 @@ class PreSetup(object): def _pull(): color_print('开始更新jumpserver', 'green') bash('git pull') - os.chdir(jms_dir) + os.chdir(os.path.join(jms_dir, 'install')) os.chmod('logs', 0777) os.chmod('keys', 0777) @@ -202,7 +202,6 @@ class PreSetup(object): self._depend_rpm() self._require_pip() self._set_env() - self._pull() self._input_ip() self._input_mysql() self._input_smtp()