checking $GDMSESSION when it's empty doesn't make sense

This commit is contained in:
darealshinji
2016-05-08 01:58:24 +02:00
parent b611ebba20
commit 4ec07abc40

View File

@@ -1539,7 +1539,7 @@ detectde () {
esac
fi
if [ x"$GDMSESSION" = x"" ]; then
if [ x"$DE" = x"" ]; then
# fallback to checking $GDMSESSION
case "$GDMSESSION" in
Lumina*|LUMINA*|lumina*)