调整进入安装阶段的时刻
This commit is contained in:
parent
a612d59132
commit
6c5150273a
|
@ -352,7 +352,7 @@ class InstallBackendAptdaemon(InstallBackend):
|
|||
elif action == self.ACTION_INSTALL:
|
||||
#50%时候 属于下载状态切换到安装状态的过程 下面的代码只执行一次
|
||||
#Fix 取消的时候进度会直接跳到100 出现判断错误进入安装状态 所以只有在进度51 - 90 之前的一次进度进入安装态
|
||||
if progress > 51 and progress < 90 and self.on_install_stage == False:
|
||||
if progress >= 50 and progress < 90 and self.on_install_stage == False:
|
||||
logging.info("The process is now in the installtion phase")
|
||||
self.on_install_stage = True
|
||||
self.safe_manager.shutdown_safe()
|
||||
|
|
Loading…
Reference in New Issue