From 3c056d352b7344e32926f571d7e0dc976c1624a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?KevinZ=C3=B8nda?= <33132228+KevinZonda@users.noreply.github.com> Date: Fri, 4 Nov 2022 21:41:49 +0000 Subject: [PATCH] feat: install script support arch-like --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 233c92262d21..f6d3274b9001 100755 --- a/install.sh +++ b/install.sh @@ -482,7 +482,7 @@ os() { # - amzn, centos, rhel, fedora, ... -> fedora # - opensuse-{leap,tumbleweed} -> opensuse # - alpine -> alpine -# - arch -> arch +# - arch, manjaro, endeavouros, ... -> arch # # Inspired by https://github.com/docker/docker-install/blob/26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c/install.sh#L111-L120. distro() { @@ -496,7 +496,7 @@ distro() { . /etc/os-release if [ "${ID_LIKE-}" ]; then for id_like in $ID_LIKE; do - case "$id_like" in debian | fedora | opensuse) + case "$id_like" in debian | fedora | opensuse | arch) echo "$id_like" return ;;