From 0f1eb1a8373501ae8d9d71bf69bb0816f213449a Mon Sep 17 00:00:00 2001 From: Scott K Logan Date: Fri, 9 Feb 2024 20:34:44 -0600 Subject: [PATCH] Add detection logic for Fedora Asahi Remix --- src/rospkg/os_detect.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/rospkg/os_detect.py b/src/rospkg/os_detect.py index eae76ad..2e8532b 100644 --- a/src/rospkg/os_detect.py +++ b/src/rospkg/os_detect.py @@ -660,6 +660,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' @@ -700,6 +701,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())