From 7b31f4cd67aac8b274bc57287cecbdde480cfa15 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20F=C3=A9rard?= Date: Sat, 17 Nov 2018 20:02:51 +0100 Subject: [PATCH] Fix linux distribution detection: "pacman" is also a very popular game. --- bootstrap.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/bootstrap.sh b/bootstrap.sh index ffc0efd..7c20d8d 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -508,11 +508,8 @@ if [ "Darwin" == "$(uname -s)" ]; then else # Here we will use package managers to determine which operating system the user is using. - # Arch linux - if hash 2>/dev/null pacman; then - archLinux "$emulator" # Suse and derivatives - elif hash 2>/dev/null zypper; then + if hash 2>/dev/null zypper; then suse "$emulator" # Debian or any derivative of it elif hash 2>/dev/null apt-get; then @@ -526,6 +523,9 @@ else # SolusOS elif hash 2>/dev/null eopkg; then solus "$emulator" + # Arch linux + elif hash 2>/dev/null pacman; then + archLinux "$emulator" fi