From cdda50d9f5872b6570966201f7b9c3f39ab9de87 Mon Sep 17 00:00:00 2001 From: Mauri de Souza Nunes Date: Mon, 25 Sep 2017 20:35:58 -0300 Subject: [PATCH] Add support for Manjaro Linux --- install-deps | 2 +- install.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/install-deps b/install-deps index 1630663a3..537aaa1cf 100755 --- a/install-deps +++ b/install-deps @@ -125,7 +125,7 @@ elif [[ "$(uname)" == 'Linux' ]]; then distribution="fedora" fedora_major_version="$VERSION" # Detect archlinux - elif [[ "$DISTRO" = "arch" ]]; then + elif [[ "$DISTRO" = "arch" || "$DISTRO" == "manjaro" ]]; then distribution="archlinux" # Detect Ubuntu elif [[ "$DISTRO" = "ubuntu" ]]; then diff --git a/install.sh b/install.sh index 788a8b7cc..62ea0eb9b 100755 --- a/install.sh +++ b/install.sh @@ -57,7 +57,7 @@ if [[ `uname` == "Darwin" ]]; then export CXX=clang++ fi # If we're on Arch linux, use gcc v5 -if [[ `uname -a` == *"ARCH"* ]]; then +if [[ `uname -a` == *"ARCH"* || `uname -a` == *"MANJARO"* ]]; then path_to_gcc5=$(which gcc-5) if [ -x "$path_to_gcc5" ]; then export CC="$path_to_gcc5"