Skip to content

Commit f6a2404

Browse files
committed
python: setup: fedora: 42 works
Signed-off-by: Nathan Chancellor <[email protected]>
1 parent 5f11d66 commit f6a2404

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

python/setup/fedora.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
# pylint: enable=wrong-import-position
1515

1616
MIN_FEDORA_VERSION = 35
17-
MAX_FEDORA_VERSION = 41
17+
MAX_FEDORA_VERSION = 42
1818

1919

2020
def configure_networking():
@@ -195,7 +195,6 @@ def install_packages():
195195

196196
# nicer GNU utilities
197197
'duf',
198-
'eza' if fedora_version >= 39 else 'exa',
199198
'ripgrep',
200199

201200
# repo
@@ -205,6 +204,11 @@ def install_packages():
205204
'tuxmake',
206205
] # yapf: disable
207206

207+
if fedora_version < 39:
208+
packages.append('exa')
209+
elif fedora_version < 42:
210+
packages.append('eza')
211+
208212
if not lib.setup.is_lxc():
209213
packages.append('podman')
210214

0 commit comments

Comments
 (0)