From: "Amadeusz Żołnowski" <aidecoe-2qtfh70TtYba5EbDDlwbIw@public.gmane.org>
To: initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: [PATCH] i18n: fixup
Date: Thu, 1 Jul 2010 22:39:34 +0200 [thread overview]
Message-ID: <20100701223934.5329a489@etiriah> (raw)
In-Reply-To: <20100701211737.45d8a803@etiriah>
[-- Attachment #1: Type: text/plain, Size: 1087 bytes --]
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
--
1.7.1
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-07-01 20:39 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-01 19:17 [PATCH] add module i18n Amadeusz Żołnowski
2010-07-01 20:39 ` Amadeusz Żołnowski [this message]
2010-07-09 13:46 ` [PATCH] i18n: fixup Harald Hoyer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100701223934.5329a489@etiriah \
--to=aidecoe-2qtfh70ttyba5ebddlwbiw@public.gmane.org \
--cc=initramfs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox