From: Nabil Ghodbane Date: Wed, 12 Jan 2022 12:52:06 +0000 (+0100) Subject: spns #26907: use distro.name remove generic X-Git-Tag: V9_9_0~233 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=2191ef0acec9666157855e198d535d938fe8bfc0;p=tools%2Fsat_salome.git spns #26907: use distro.name remove generic --- diff --git a/products/env_scripts/qt.py b/products/env_scripts/qt.py index c22a6dd..47c88c3 100644 --- a/products/env_scripts/qt.py +++ b/products/env_scripts/qt.py @@ -24,9 +24,8 @@ def set_env(env, prereq_dir, version): def set_nativ_env(env): - # Adapt Qt libraries dir according to the current distribution (generic -> Ubuntu) import distro - if any(distribution in distro.name().lower() for distribution in ["debian", "generic", "ubuntu"]) : + if any(distribution in distro.name().lower() for distribution in ["debian", "ubuntu"]) : qt_lib_dir='/usr/lib/x86_64-linux-gnu' else : qt_lib_dir='/usr/lib64'