]> 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>
Thu, 14 Aug 2014 10:56:53 +0000 (12:56 +0200)
i18n_install_all="no" does not have the expected effect without this
patch

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

index a091f89f7313a3d510715cfc4ed1f8da5acd65c9..720fcbdbd7be66fa85218e69847064bc3aa58bad 100755 (executable)
@@ -247,7 +247,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