summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>2010-02-11 01:39:23 +0100
committerThomas Bächler <thomas@archlinux.org>2010-02-11 09:04:24 +0100
commita1e8a2cb279f89838a6757fe5f80c5ae37108ca7 (patch)
treece471971a8b1fba523937f9d16abfbc6fcf780ec
parent866db5c57013a3648fc24100384da763b1c7fdef (diff)
downloadmkinitcpio-a1e8a2cb279f89838a6757fe5f80c5ae37108ca7.tar.gz
mkinitcpio-a1e8a2cb279f89838a6757fe5f80c5ae37108ca7.tar.xz
Fix tabs/space indents from commit 866db5c5
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
-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
}