mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
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:
1 parent
153e238e1d
commit
b1691976bd
1 file changed
+6
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user