From 8ffe1a22c3ec6c31cabcc2807190bfcb701dfdaf Mon Sep 17 00:00:00 2001 From: ItzNop <38888474+ItzNop@users.noreply.github.com> Date: Thu, 22 Nov 2018 14:53:41 +0200 Subject: [PATCH] Change install script to check if pacman exists yes --- install-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install-all b/install-all index ec4f59d3..9e524216 100755 --- a/install-all +++ b/install-all @@ -10,7 +10,7 @@ rm ../install-all # remove install file # # Install base Dependencies # -if [ -f "/etc/arch-release" ]; then +if [ -x "$(command -v pacman)" ]; then sudo pacman -S --needed --noconfirm boost cmake make gcc gdb lib32-sdl2 lib32-glew freetype2 rsync lib32-openssl lib32-libglvnd else sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y