From 4431f991fc8acc23d75a1df72341ad83be5cb071 Mon Sep 17 00:00:00 2001 From: Alex Pyrgiotis Date: Tue, 30 Jan 2024 13:06:26 +0200 Subject: [PATCH] FIXUP: Move PySide6 logic in if-block for Fedora --- dev_scripts/env.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev_scripts/env.py b/dev_scripts/env.py index 23027115c..6363bc7bc 100755 --- a/dev_scripts/env.py +++ b/dev_scripts/env.py @@ -596,7 +596,6 @@ def build( download_pyside6=DEFAULT_DOWNLOAD_PYSIDE6, ): """Build a Linux environment and install Dangerzone in it.""" - pyside6 = PySide6Manager(self.distro, self.version) build_dir = distro_build(self.distro, self.version) version = dz_version() if self.distro == "fedora": @@ -612,6 +611,7 @@ def build( # FIXME: Unconditionally check for PySide6, once Fedora 38 is no longer # supported. if self.version != "38": + pyside6 = PySide6Manager(self.distro, self.version) if not pyside6.is_rpm_present: if download_pyside6: pyside6.download_rpm()