remove duplicate lines
This commit is contained in:
parent
ad26914a60
commit
e26f35ad10
|
@ -244,10 +244,6 @@ class AptConfigurer:
|
||||||
await self.unmount(m.mountpoint, remove=False)
|
await self.unmount(m.mountpoint, remove=False)
|
||||||
for d in self._tdirs:
|
for d in self._tdirs:
|
||||||
shutil.rmtree(d)
|
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:
|
async def deconfigure(self, context, target: str) -> None:
|
||||||
target_mnt = Mountpoint(mountpoint=target)
|
target_mnt = Mountpoint(mountpoint=target)
|
||||||
|
|
Loading…
Reference in New Issue