cmds.distro.backend.debian.Util.apt_get(): Take list

apt_get(), like all other functions and methods spawning processes
should take a list instead of a starred *args array. Implement that.

Signed-off-by: Jan Lindemann <jan@janware.com>
This commit is contained in:
Jan Lindemann 2026-03-04 15:59:21 +00:00
commit 9e8f5e3d2e

View file

@ -8,7 +8,7 @@ class Util(Base):
def __init__(self, parent: Cmd):
super().__init__(parent)
async def apt_get(self, *args):
async def apt_get(self, args: list[str]):
cmd = ['/usr/bin/apt-get']
mod_env = None
if not self.interactive: