feat(kiauh): fix typo in check_package_install

Signed-off-by: Dominik Willner <th33xitus@gmail.com>
This commit is contained in:
dw-0
2023-12-16 17:38:01 +01:00
parent f709cf84e7
commit 545397f598

View File

@@ -179,7 +179,7 @@ def check_package_install(packages: List[str]) -> List[str]:
""" """
not_installed = [] not_installed = []
for package in packages: for package in packages:
command = ["dpkg-query", "f'${Status}'", "--show", package] command = ["dpkg-query", "-f'${Status}'", "--show", package]
result = subprocess.run( result = subprocess.run(
command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, text=True command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, text=True
) )