Skip to content

Commit

Permalink
FIXUP: Move PySide6 logic in if-block for Fedora
Browse files Browse the repository at this point in the history
  • Loading branch information
apyrgio committed Jan 30, 2024
1 parent 5b16a1e commit 4431f99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev_scripts/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -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":
Expand All @@ -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()
Expand Down

0 comments on commit 4431f99

Please sign in to comment.