Normalize Fedora Asahi Remix to Fedora

So installs work on Fedora Asahi Remix

Signed-off-by: Eric Curtin <eric.curtin@docker.com>
This commit is contained in:
Eric Curtin committed 2026-06-30 14:46:52 +01:00
1 parent 153e238e1d
commit b1691976bd
1 file changed
+6
+6
View File
@@ -290,6 +290,12 @@ get_distribution() {
if [ -r /etc/os-release ]; then
lsb_dist="$(. /etc/os-release && echo "$ID")"
fi
# Normalize Fedora Asahi Remix to fedora
if [ "$lsb_dist" = "fedora-asahi-remix" ]; then
lsb_dist="fedora"
fi
# Returning an empty string here should be alright since the
# case statements don't act unless you provide an actual value
echo "$lsb_dist"