Merge pull request #2725 from emphasize/add_arch_variants_to_devsetup

allow variants of arch (archarm, ...) to fetch dependencies (dev_setup.sh)
pull/2731/head
Kris Gesling 2020-10-16 16:25:59 +09:30 committed by GitHub
commit bee3b8c64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -398,14 +398,14 @@ function install_deps() {
# Fedora
echo "$GREEN Installing packages for Fedora...$RESET"
fedora_install
elif found_exe pacman && os_is arch ; then
elif found_exe pacman && (os_is arch || os_is_like arch); then
# Arch Linux
echo "$GREEN Installing packages for Arch...$RESET"
arch_install
elif found_exe emerge && os_is gentoo; then
# Gentoo Linux
echo "$GREEN Installing packages for Gentoo Linux ...$RESET"
gentoo_install
gentoo_install
elif found_exe apk && os_is alpine; then
# Alpine Linux
echo "$GREEN Installing packages for Alpine Linux...$RESET"