summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Soller <jackpot51@gmail.com>2017-09-08 20:48:00 -0600
committerGitHub <noreply@github.com>2017-09-08 20:48:00 -0600
commit8670caa8a595fe42f78c9fd97bdbca3315420b74 (patch)
tree09817055d163a27b7975b3d4ce5922c91c7b1890
parent66b9452310ecc772b2689a0f249d66db51daaf07 (diff)
parent4722b4eea1dd1bc6689b81ec024cfd6f494fb6c8 (diff)
Merge pull request #1053 from krrg/patch-1
Update bootstrap.sh
-rwxr-xr-xbootstrap.sh26
1 files changed, 12 insertions, 14 deletions
diff --git a/bootstrap.sh b/bootstrap.sh
index 3f892e4..d1d47cb 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -507,31 +507,29 @@ banner
if [ "Darwin" == "$(uname -s)" ]; then
osx "$emulator"
else
- # Here we will user 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"
- fi
+ # Suse and derivatives
+ elif hash 2>/dev/null zypper; then
+ suse "$emulator"
# Debian or any derivative of it
- if hash 2>/dev/null apt-get; then
+ elif hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$defpackman"
- fi
# Fedora
- if hash 2>/dev/null dnf; then
+ elif hash 2>/dev/null dnf; then
fedora "$emulator"
- fi
- # Suse and derivatives
- if hash 2>/dev/null zypper; then
- suse "$emulator"
- fi
# Gentoo
- if hash 2>/dev/null emerge; then
+ elif hash 2>/dev/null emerge; then
gentoo "$emulator"
- fi
# SolusOS
- if hash 2>/dev/null eopkg; then
+ elif hash 2>/dev/null eopkg; then
solus "$emulator"
- fi
+ fi
+
+
fi
if [ "$dependenciesonly" = false ]; then