From 545397f5983218577b9cea20ed7770497aeb4b72 Mon Sep 17 00:00:00 2001 From: dw-0 Date: Sat, 16 Dec 2023 17:38:01 +0100 Subject: [PATCH] feat(kiauh): fix typo in check_package_install Signed-off-by: Dominik Willner --- kiauh/utils/system_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiauh/utils/system_utils.py b/kiauh/utils/system_utils.py index 588f48d..9b6fbce 100644 --- a/kiauh/utils/system_utils.py +++ b/kiauh/utils/system_utils.py @@ -179,7 +179,7 @@ def check_package_install(packages: List[str]) -> List[str]: """ not_installed = [] for package in packages: - command = ["dpkg-query", "f'${Status}'", "--show", package] + command = ["dpkg-query", "-f'${Status}'", "--show", package] result = subprocess.run( command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, text=True )