Blame SOURCES/0343-i18n-check-for-i18n_install_all-yes-rather-than-bein.patch

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