Salome HOME
projects
/
tools
/
sat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f84f915
)
fix: remove --no-pager option for Deb9 dpkg-query compat
spns/40790
14/head
author
SONOLET Aymeric
<aymeric.sonolet@cea.fr>
Fri, 2 Feb 2024 12:20:26 +0000
(13:20 +0100)
committer
SONOLET Aymeric
<aymeric.sonolet@cea.fr>
Fri, 2 Feb 2024 12:20:26 +0000
(13:20 +0100)
src/system.py
patch
|
blob
|
history
diff --git
a/src/system.py
b/src/system.py
index b00760840303f460d0f95d73b2d205ebca427420..acb6feaef88bb8002125fb989b86899c77f38aad 100644
(file)
--- 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)