Re: [PATCH] i18n: fixup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 07/01/2010 10:39 PM, Amadeusz Żołnowski wrote:
dracut-functions: fixed typos in inst_decompress

i18n: use inst_opt_decompress for installing fonts instead of inst
---
  dracut-functions         |    2 +-
  modules.d/10i18n/install |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dracut-functions b/dracut-functions
index 4212c5f..9c2999a 100755
--- a/dracut-functions
+++ b/dracut-functions
@@ -408,7 +408,7 @@ inst_decompress() {
      for src in $@
      do
          case ${src} in
-            *.gi) cmd='gzip rd' ;;
+            *.gz) cmd='gzip -d' ;;
              *.bz2) cmd='bzip2 -d' ;;
              *) return 1 ;;
          esac
diff --git a/modules.d/10i18n/install b/modules.d/10i18n/install
index a335260..05de54a 100755
--- a/modules.d/10i18n/install
+++ b/modules.d/10i18n/install
@@ -123,7 +123,7 @@ install_local_i18n() {

      [[ ${SYSFONT} ]] || SYSFONT=${DEFAULT_SYSFONT}
      SYSFONT=${SYSFONT%.psf*}
-    inst ${kbddir}/consolefonts/${SYSFONT}.*
+    inst_opt_decompress ${kbddir}/consolefonts/${SYSFONT}.*

      if [[ ${CONTRANS} ]]
      then

pushed
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Kernel]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux SCSI]

  Powered by Linux