summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Bächler <thomas@archlinux.org>2010-01-12 22:34:06 +0100
committerThomas Bächler <thomas@archlinux.org>2010-01-12 22:34:06 +0100
commit0934e10814aa8ea20161d2a7a1fa15bf4df6bdfa (patch)
tree9ac32720e1a793ae5ed6032a7a522df20bfa387b
parentb2093f6c9d4f039e7944aebfb6b5c558218dabc6 (diff)
downloadmkinitcpio-0934e10814aa8ea20161d2a7a1fa15bf4df6bdfa.tar.gz
mkinitcpio-0934e10814aa8ea20161d2a7a1fa15bf4df6bdfa.tar.xz
Fix UTF8 mode in the keymap hook
-rw-r--r--install/keymap4
1 files changed, 2 insertions, 2 deletions
diff --git a/install/keymap b/install/keymap
index cb64e69..0ddd0e5 100644
--- a/install/keymap
+++ b/install/keymap
@@ -10,10 +10,10 @@ install ()
UTF8_FILE="$(mktemp ${TMPDIR}/keymap.XXXXXX)"
eval "$(grep -e "^LOCALE=" -e "^KEYMAP=" -e "^CONSOLEFONT=" -e "^CONSOLEMAP=" /etc/rc.conf)"
if [ -n "$(echo ${LOCALE} | grep -i utf)" ]; then
- echo "UTF8='yes'" >> ${KEYMAP_FILE}
+ echo "UTF8='yes'" > ${UTF8_FILE}
/bin/loadkeys -q -u $KEYMAP -b > ${KEYMAP_FILE}
else
- echo "UTF8='no'" >> ${KEYMAP_FILE}
+ echo "UTF8='no'" > ${UTF8_FILE}
/bin/loadkeys -q $KEYMAP -b > ${KEYMAP_FILE}
fi
add_file ${KEYMAP_FILE} /keymap.bin