From a88eec011baa13146ab3fec460c820e4be9eb11c Mon Sep 17 00:00:00 2001 From: Matias Barcenas Date: Sat, 2 Sep 2017 20:46:29 -0500 Subject: [PATCH] Fixed a bug with set_language and fluxion auto. --- fluxion.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/fluxion.sh b/fluxion.sh index 7d37105..566491e 100755 --- a/fluxion.sh +++ b/fluxion.sh @@ -337,7 +337,9 @@ function set_resolution() { # Windows + Resolution ##################################### < Language > ##################################### function set_language() { - if [ ! "$FLUXIONAuto" ]; then + if [ "$FLUXIONAuto" ]; then + FLUXIONLanguage="en" + else # Get all languages available. local languageCodes readarray -t languageCodes < <(ls -1 language | sed -E 's/\.sh//')