Updated buildRT to correctly identify Gentoo again

This commit is contained in:
DrSlony 2012-11-13 21:18:33 +00:00
parent e604e89273
commit db3a2608be

View File

@ -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,
# so we might want to not break the loop.
[[ -e "$loc" ]] && { distribution=${distro}; echo "Distribution detected as ${distribution}"; }
[[ "$distro" = Gentoo ]] && break 2
done
done