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:
signature.asc
Description: PGP signature