fix install bug

pull/26/head
ibuler 2015-12-19 20:31:06 +08:00
parent 80c5acef81
commit 3695989866
2 changed files with 3 additions and 2 deletions

View File

@ -52,6 +52,8 @@ Web批量执行命令
[Jumpserver官网](http://www.jumpserver.org)
[论坛](http://bbs.jumpserver.org)
[demo站点](http://demo.jumpserver.org)
### 团队

View File

@ -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()