Blame 0021-i18n-check-for-i18n_install_all-yes-rather-than-bein.patch

Harald Hoyer 89f6fa
From ae488efa5e6103ffc1be8b8782f8a1c7a5aa90b4 Mon Sep 17 00:00:00 2001
Harald Hoyer 89f6fa
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 89f6fa
Date: Thu, 14 Aug 2014 12:56:53 +0200
Harald Hoyer 89f6fa
Subject: [PATCH] i18n: check for $i18n_install_all == "yes" rather than being
Harald Hoyer 89f6fa
 set
Harald Hoyer 89f6fa
Harald Hoyer 89f6fa
i18n_install_all="no" does not have the expected effect without this
Harald Hoyer 89f6fa
patch
Harald Hoyer 89f6fa
---
Harald Hoyer 89f6fa
 modules.d/10i18n/module-setup.sh | 2 +-
Harald Hoyer 89f6fa
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 89f6fa
Harald Hoyer 89f6fa
diff --git a/modules.d/10i18n/module-setup.sh b/modules.d/10i18n/module-setup.sh
Harald Hoyer 89f6fa
index a091f89..720fcbd 100755
Harald Hoyer 89f6fa
--- a/modules.d/10i18n/module-setup.sh
Harald Hoyer 89f6fa
+++ b/modules.d/10i18n/module-setup.sh
Harald Hoyer 89f6fa
@@ -247,7 +247,7 @@ install() {
Harald Hoyer 89f6fa
     if checks; then
Harald Hoyer 89f6fa
         install_base
Harald Hoyer 89f6fa
 
Harald Hoyer 89f6fa
-        if [[ ${hostonly} ]] && ! [[ ${i18n_install_all} ]]; then
Harald Hoyer 89f6fa
+        if [[ ${hostonly} ]] && ! [[ ${i18n_install_all} == "yes" ]]; then
Harald Hoyer 89f6fa
             install_local_i18n || install_all_kbd
Harald Hoyer 89f6fa
         else
Harald Hoyer 89f6fa
             install_all_kbd