Skip to content

Commit ff8ea36

Browse files
authored
feat: install script support arch-like (#5757)
1 parent f56ce5b commit ff8ea36

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

install.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ os() {
482482
# - amzn, centos, rhel, fedora, ... -> fedora
483483
# - opensuse-{leap,tumbleweed} -> opensuse
484484
# - alpine -> alpine
485-
# - arch -> arch
485+
# - arch, manjaro, endeavouros, ... -> arch
486486
#
487487
# Inspired by https://github.com/docker/docker-install/blob/26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c/install.sh#L111-L120.
488488
distro() {
@@ -496,7 +496,7 @@ distro() {
496496
. /etc/os-release
497497
if [ "${ID_LIKE-}" ]; then
498498
for id_like in $ID_LIKE; do
499-
case "$id_like" in debian | fedora | opensuse)
499+
case "$id_like" in debian | fedora | opensuse | arch)
500500
echo "$id_like"
501501
return
502502
;;

0 commit comments

Comments
 (0)