lib.distros.suse.Distro._install_local_files(): Use rpm #16
1 changed files with 5 additions and 0 deletions
|
|
@ -73,6 +73,11 @@ class Distro(Base):
|
|||
cmd += names
|
||||
await self.zypper(cmd)
|
||||
|
||||
async def _install_local_files(
|
||||
self, paths: Iterable[str], only_update: bool
|
||||
) -> None:
|
||||
await self.rpm(['-U', '--reinstall', *paths])
|
||||
|
||||
async def _delete(self, names: Iterable[str]) -> None:
|
||||
await self.rpm(['-e', *names], sudo = True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue