Merge pull request #862 from leontepe/patch-1

Fix Arch installdeps
This commit is contained in:
Zach Bacon 2021-08-10 23:35:43 -04:00 committed by GitHub
commit 93e15f5b34
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 2 deletions

View File

@ -176,6 +176,8 @@ linux_installdeps() {
solus_installdeps solus_installdeps
elif [ -f /etc/gentoo-release ]; then elif [ -f /etc/gentoo-release ]; then
gentoo_installdeps gentoo_installdeps
elif [ -x /usr/bin/pacman ]; then
archlinux_installdeps
elif [ -f /etc/os-release ]; then elif [ -f /etc/os-release ]; then
case "$(. /etc/os-release; echo "${ID_LIKE:-$ID}")" in case "$(. /etc/os-release; echo "${ID_LIKE:-$ID}")" in
*suse*) *suse*)
@ -184,9 +186,10 @@ linux_installdeps() {
nixos) nixos)
nixos_installdeps nixos_installdeps
;; ;;
*)
error "Don't know how to install deps on your version of Linux"
;;
esac esac
elif [ -x /usr/bin/pacman ]; then
archlinux_installdeps
else else
error "Don't know how to install deps on your version of Linux" error "Don't know how to install deps on your version of Linux"
fi fi