remove duplicate lines

This commit is contained in:
Michael Hudson-Doyle 2021-11-26 15:41:15 +13:00 committed by Olivier Gayot
parent ad26914a60
commit e26f35ad10
1 changed files with 0 additions and 4 deletions

View File

@ -244,10 +244,6 @@ class AptConfigurer:
await self.unmount(m.mountpoint, remove=False)
for d in self._tdirs:
shutil.rmtree(d)
if self.app.base_model.network.has_network:
await run_curtin_command(
self.app, context, "in-target", "-t", target,
"--", "apt-get", "update")
async def deconfigure(self, context, target: str) -> None:
target_mnt = Mountpoint(mountpoint=target)