summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--hooks/consolefont6
-rw-r--r--install/consolefont12
2 files changed, 9 insertions, 9 deletions
diff --git a/hooks/consolefont b/hooks/consolefont
index 8183844..f35869e 100644
--- a/hooks/consolefont
+++ b/hooks/consolefont
@@ -3,8 +3,8 @@
run_hook ()
{
if [ -e /consolefont.psfu ]; then
- msg -n ":: Loading console font..."
- /usr/sbin/setfont -C /dev/console /consolefont.psfu
- msg "done."
+ msg -n ":: Loading console font..."
+ /usr/sbin/setfont -C /dev/console /consolefont.psfu
+ msg "done."
fi
}
diff --git a/install/consolefont b/install/consolefont
index 6e242a8..67777b8 100644
--- a/install/consolefont
+++ b/install/consolefont
@@ -9,12 +9,12 @@ install ()
if [ -n "$CONSOLEFONT" ]; then
CONSOLEFONT_FILE_GZ="/usr/share/kbd/consolefonts/$CONSOLEFONT.psfu.gz"
if [ -e ${CONSOLEFONT_FILE_GZ} ]; then
- CONSOLEFONT_FILE="$(mktemp ${TMPDIR}/consolefont.psfu.XXXXXX)"
- zcat ${CONSOLEFONT_FILE_GZ} > ${CONSOLEFONT_FILE}
- add_file ${CONSOLEFONT_FILE} /consolefont.psfu
- else
- echo "consolefont: Font file does not exist or does not end with .psfu.gz"
- echo "consolefont: Only unicode fonts are supported at the moment."
+ CONSOLEFONT_FILE="$(mktemp ${TMPDIR}/consolefont.psfu.XXXXXX)"
+ zcat ${CONSOLEFONT_FILE_GZ} > ${CONSOLEFONT_FILE}
+ add_file ${CONSOLEFONT_FILE} /consolefont.psfu
+ else
+ echo "consolefont: Font file does not exist or does not end with .psfu.gz"
+ echo "consolefont: Only unicode fonts are supported at the moment."
fi
fi
}