Skip to content

Commit

Permalink
Add Linux Mint 'Wilma` to the available linux distributions list
Browse files Browse the repository at this point in the history
  • Loading branch information
neodesys committed Sep 11, 2024
1 parent 895d8cd commit 117908a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions cerbero/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,12 @@ def system_info():
distro_version = 'debian_{number:02d}_{name}'.format(number=number, name=d[2])
elif d[0] in ['Ubuntu']:
distro_version = 'ubuntu_{number}_{name}'.format(number=d[1].replace('.', '_'), name=distro_version)
elif d[0] in ['LinuxMint', 'Linux Mint'] and d[1].startswith('20'):
distro_version = DistroVersion.UBUNTU_FOCAL
elif d[0] in ['LinuxMint', 'Linux Mint'] and d[1].startswith('21'):
distro_version = 'ubuntu_22_04_jammy'
elif d[0] in ['LinuxMint', 'Linux Mint'] and d[1].startswith('22'):
distro_version = 'ubuntu_24_04_noble'
else:
raise FatalError("Distribution '%s' not supported" % str(d))
elif d[0] in [
Expand Down

0 comments on commit 117908a

Please sign in to comment.