summaryrefslogtreecommitdiffstats
path: root/install/consolefont
diff options
context:
space:
mode:
Diffstat (limited to 'install/consolefont')
-rw-r--r--install/consolefont12
1 files changed, 6 insertions, 6 deletions
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
}