]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
i18n: check for $i18n_install_all == "yes" rather than being set
authorHarald Hoyer <harald@redhat.com>
Thu, 14 Aug 2014 10:56:53 +0000 (12:56 +0200)
committerHarald Hoyer <harald@redhat.com>
Mon, 14 Sep 2015 13:16:18 +0000 (15:16 +0200)
i18n_install_all="no" does not have the expected effect without this
patch

(cherry picked from commit ae488efa5e6103ffc1be8b8782f8a1c7a5aa90b4)

modules.d/10i18n/module-setup.sh

index 2c0a275c6b604914e151773f6be44d6b3a800916..4fd811621f0f91af47bdb23abf70deab3d227123 100755 (executable)
@@ -241,7 +241,7 @@ install() {
     if checks; then
         install_base
 
-        if [[ ${hostonly} ]] && ! [[ ${i18n_install_all} ]]; then
+        if [[ ${hostonly} ]] && ! [[ ${i18n_install_all} == "yes" ]]; then
             install_local_i18n || install_all_kbd
         else
             install_all_kbd