fix install bug

pull/26/head
ibuler 9 years ago
parent 80c5acef81
commit 3695989866

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

@ -193,7 +193,7 @@ class PreSetup(object):
def _pull(): def _pull():
color_print('开始更新jumpserver', 'green') color_print('开始更新jumpserver', 'green')
bash('git pull') bash('git pull')
os.chdir(jms_dir) os.chdir(os.path.join(jms_dir, 'install'))
os.chmod('logs', 0777) os.chmod('logs', 0777)
os.chmod('keys', 0777) os.chmod('keys', 0777)
@ -202,7 +202,6 @@ class PreSetup(object):
self._depend_rpm() self._depend_rpm()
self._require_pip() self._require_pip()
self._set_env() self._set_env()
self._pull()
self._input_ip() self._input_ip()
self._input_mysql() self._input_mysql()
self._input_smtp() self._input_smtp()

Loading…
Cancel
Save