Tighten up the font installation case statement as well.
---
dracut | 8 ++------
1 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/dracut b/dracut
index a19f910..ae53caf 100755
--- a/dracut
+++ b/dracut
@@ -97,12 +97,8 @@ if [ -f /etc/sysconfig/i18n ]; then
for FN in /lib/kbd/consolefonts/$SYSFONT.* ; do
inst "$FN" "$initdir"
case $FN in
- *.gz)
- gzip -d "$initdir$FN"
- ;;
- *.bz2)
- bzip2 -d "$initdir$FN"
- ;;
+ *.gz) gzip -d "$initdir$FN" ;;
+ *.bz2) bzip2 -d "$initdir$FN" ;;
esac
done
[[ $SYSFONTACM ]] && inst /lib/kbd/consoletrans/$SYSFONTACM "$initdir"
--
1.6.0.6
--
To unsubscribe from this list: send the line "unsubscribe initramfs" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html