Skip to content

Commit

Permalink
python: fedora: Support 39
Browse files Browse the repository at this point in the history
Signed-off-by: Nathan Chancellor <[email protected]>
  • Loading branch information
nathanchance committed Nov 29, 2023
1 parent e3be7a3 commit 2b84681
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions python/setup/fedora.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ def machine_is_trusted():
def prechecks():
lib.setup.check_root()
fedora_version = get_fedora_version()
if fedora_version not in (35, 36, 37, 38):
if fedora_version not in (35, 36, 37, 38, 39):
raise RuntimeError(
f"Fedora {fedora_version} is not tested with this script, add support for it if it works.",
)
Expand Down Expand Up @@ -76,6 +76,7 @@ def install_initial_packages():


def install_packages():
fedora_version = get_fedora_version()
packages = [
# administration
'btop',
Expand Down Expand Up @@ -117,7 +118,7 @@ def install_packages():

# nicer GNU utilities
'duf',
'exa',
'eza' if fedora_version >= 39 else 'exa',
'ripgrep',

# repo
Expand Down

0 comments on commit 2b84681

Please sign in to comment.