Fix linux distribution detection: "pacman" is also a very popular game.
This commit is contained in:
parent
4e0ddd9bb2
commit
7b31f4cd67
|
@ -508,11 +508,8 @@ if [ "Darwin" == "$(uname -s)" ]; then
|
||||||
else
|
else
|
||||||
# Here we will use package managers to determine which operating system the user is using.
|
# 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
|
# Suse and derivatives
|
||||||
elif hash 2>/dev/null zypper; then
|
if hash 2>/dev/null zypper; then
|
||||||
suse "$emulator"
|
suse "$emulator"
|
||||||
# Debian or any derivative of it
|
# Debian or any derivative of it
|
||||||
elif hash 2>/dev/null apt-get; then
|
elif hash 2>/dev/null apt-get; then
|
||||||
|
@ -526,6 +523,9 @@ else
|
||||||
# SolusOS
|
# SolusOS
|
||||||
elif hash 2>/dev/null eopkg; then
|
elif hash 2>/dev/null eopkg; then
|
||||||
solus "$emulator"
|
solus "$emulator"
|
||||||
|
# Arch linux
|
||||||
|
elif hash 2>/dev/null pacman; then
|
||||||
|
archLinux "$emulator"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue