From ed661efc0feb037927b3f61d1d1c9a6aabfedd02 Mon Sep 17 00:00:00 2001 From: SONOLET Aymeric Date: Fri, 2 Feb 2024 13:20:26 +0100 Subject: [PATCH] fix: remove --no-pager option for Deb9 dpkg-query compat --- src/system.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system.py b/src/system.py index b007608..acb6fea 100644 --- a/src/system.py +++ b/src/system.py @@ -402,7 +402,7 @@ def get_pkg_check_cmd(dist_name): # 1) we search for apt (debian based systems) completed=SP.call(cmd_which_dpkg,stdout=devnull, stderr=SP.STDOUT) if completed==0 and linux=="DB": - cmd_is_package_installed = ["dpkg-query", "--no-pager", "-l"] + cmd_is_package_installed = ["dpkg-query", "-l"] else: # 2) if dpkg not found search for apt completed = SP.call(cmd_which_apt, stdout=devnull, stderr=SP.STDOUT) -- 2.39.2