update_manager: rebuild the enviroment if a new env version is detected
This should be done even if new dependencies are not required. Signed-off-by: Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
parent
9f9a05cabb
commit
0f62b283bd
|
@ -330,6 +330,8 @@ class GitUpdater:
|
|||
if update_deps:
|
||||
await self._install_packages()
|
||||
await self._update_virtualenv(need_env_rebuild)
|
||||
elif need_env_rebuild:
|
||||
await self._update_virtualenv(True)
|
||||
# Refresh local repo state
|
||||
await self._check_local_version()
|
||||
if self.name == "moonraker":
|
||||
|
|
Loading…
Reference in New Issue