Updated buildRT to correctly identify Gentoo again
This commit is contained in:
parent
e604e89273
commit
db3a2608be
@ -197,7 +197,8 @@ checkDistro () {
|
|||||||
# distribution=${distro} because if none of the elements match, distro will =YellowDog (last item in the list)
|
# distribution=${distro} because if none of the elements match, distro will =YellowDog (last item in the list)
|
||||||
# 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