Skip to content

Commit

Permalink
Add detection logic for Fedora Asahi Remix (#265)
Browse files Browse the repository at this point in the history
  • Loading branch information
cottsay authored Mar 1, 2024
1 parent 3ed7b29 commit ed5f484
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/rospkg/os_detect.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,6 +662,7 @@ def get_codename(self):
OS_ELEMENTARY = 'elementary'
OS_ELEMENTARY_OLD = 'elementary'
OS_FEDORA = 'fedora'
OS_FEDORA_ASAHI = 'fedora-asahi'
OS_FREEBSD = 'freebsd'
OS_FUNTOO = 'funtoo'
OS_GENTOO = 'gentoo'
Expand Down Expand Up @@ -702,6 +703,7 @@ def get_codename(self):
OsDetect.register_default(OS_ELEMENTARY, LsbDetect("elementary"))
OsDetect.register_default(OS_ELEMENTARY_OLD, LsbDetect("elementary OS"))
OsDetect.register_default(OS_FEDORA, FdoDetect("fedora"))
OsDetect.register_default(OS_FEDORA_ASAHI, FdoDetect("fedora-asahi-remix"))
OsDetect.register_default(OS_FREEBSD, FreeBSD())
OsDetect.register_default(OS_FUNTOO, Funtoo())
OsDetect.register_default(OS_GENTOO, Gentoo())
Expand Down

0 comments on commit ed5f484

Please sign in to comment.