]> SALOME platform Git repositories - tools/sat.git/commitdiff
Salome HOME
fix: remove --no-pager option for Deb9 dpkg-query compat spns/40790 14/head
authorSONOLET Aymeric <aymeric.sonolet@cea.fr>
Fri, 2 Feb 2024 12:20:26 +0000 (13:20 +0100)
committerSONOLET Aymeric <aymeric.sonolet@cea.fr>
Fri, 2 Feb 2024 12:20:26 +0000 (13:20 +0100)
src/system.py

index b00760840303f460d0f95d73b2d205ebca427420..acb6feaef88bb8002125fb989b86899c77f38aad 100644 (file)
@@ -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)