Change install script to check if pacman exists

yes
This commit is contained in:
ItzNop 2018-11-22 14:53:41 +02:00 committed by GitHub
parent 43315bbb34
commit 8ffe1a22c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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