Support archlinux derivatives in installdeps.
Assume an archlinux-like distribution based on the existence of `/usr/bin/pacman` as the last test. - Fix #710. Signed-off-by: Rafael Kitover <rkitover@gmail.com>
This commit is contained in:
parent
020daad85f
commit
2727f683f1
|
@ -172,8 +172,6 @@ linux_installdeps() {
|
|||
fedora_installdeps
|
||||
elif [ -f /etc/redhat-release ] || [ -f /etc/centos-release ]; then
|
||||
rhel_installdeps
|
||||
elif [ -f /etc/arch-release ]; then
|
||||
archlinux_installdeps
|
||||
elif [ -f /etc/solus-release ]; then
|
||||
solus_installdeps
|
||||
elif [ -f /etc/gentoo-release ]; then
|
||||
|
@ -184,6 +182,8 @@ linux_installdeps() {
|
|||
suse_installdeps
|
||||
;;
|
||||
esac
|
||||
elif [ -x /usr/bin/pacman ]; then
|
||||
archlinux_installdeps
|
||||
else
|
||||
error "Don't know how to install deps on your version of Linux"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue