Update bootstrap.sh

See https://github.com/redox-os/redox/issues/1052

This is just something fast I threw together to get the general idea across of what might fix the problem.  I've not yet had a chance to test this.
This commit is contained in:
Ken Reese 2017-09-06 13:58:21 -06:00 committed by GitHub
parent 66b9452310
commit 32fed717dc

View file

@ -512,6 +512,10 @@ else
if hash 2>/dev/null pacman; then if hash 2>/dev/null pacman; then
archLinux "$emulator" archLinux "$emulator"
fi fi
# Suse and derivatives
if hash 2>/dev/null zypper; then
suse "$emulator"
else
# Debian or any derivative of it # Debian or any derivative of it
if hash 2>/dev/null apt-get; then if hash 2>/dev/null apt-get; then
ubuntu "$emulator" "$defpackman" ubuntu "$emulator" "$defpackman"
@ -520,10 +524,7 @@ else
if hash 2>/dev/null dnf; then if hash 2>/dev/null dnf; then
fedora "$emulator" fedora "$emulator"
fi fi
# Suse and derivatives
if hash 2>/dev/null zypper; then
suse "$emulator"
fi
# Gentoo # Gentoo
if hash 2>/dev/null emerge; then if hash 2>/dev/null emerge; then
gentoo "$emulator" gentoo "$emulator"
@ -532,6 +533,8 @@ else
if hash 2>/dev/null eopkg; then if hash 2>/dev/null eopkg; then
solus "$emulator" solus "$emulator"
fi fi
fi
fi fi
if [ "$dependenciesonly" = false ]; then if [ "$dependenciesonly" = false ]; then