From 2191ef0acec9666157855e198d535d938fe8bfc0 Mon Sep 17 00:00:00 2001 From: Nabil Ghodbane Date: Wed, 12 Jan 2022 13:52:06 +0100 Subject: [PATCH] spns #26907: use distro.name remove generic --- products/env_scripts/qt.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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' -- 2.39.2