Updated buildRT to correctly identify Gentoo again
This commit is contained in:
parent
e604e89273
commit
db3a2608be
@ -198,6 +198,7 @@ checkDistro () {
|
|||||||
# add "break 2;" to the end if we really want to, but Ubuntu gets detected as Debian first, then as Ubuntu,
|
# add "break 2;" to the end if we really want to, but Ubuntu gets detected as Debian first, then as Ubuntu,
|
||||||
# so we might want to not break the loop.
|
# so we might want to not break the loop.
|
||||||
[[ -e "$loc" ]] && { distribution=${distro}; echo "Distribution detected as ${distribution}"; }
|
[[ -e "$loc" ]] && { distribution=${distro}; echo "Distribution detected as ${distribution}"; }
|
||||||
|
[[ "$distro" = Gentoo ]] && break 2
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user