keymaps: fix the use of loadkeys in the euro fix

The loadkeys man page states that if you don't pass a filename loadkeys
will read from stdin. However, this is not correct, so we now pass "-"
as the filename to explicitly request stdin.

Reported-by: andi@grois.info
X-Gentoo-Bug: 457524
X-Gentoo-Bug-URL: https://bugs.gentoo.org/show_bug.cgi?id=457524
This commit is contained in:
William Hubbs 2013-02-15 16:09:49 -06:00
parent 970893adf3
commit 86dbd757e9

View File

@ -58,7 +58,7 @@ start()
if yesno $fix_euro; then if yesno $fix_euro; then
ebegin "Fixing font for euro symbol" ebegin "Fixing font for euro symbol"
# Fix some fonts displaying the Euro, #173528. # Fix some fonts displaying the Euro, #173528.
echo "altgr keycode 18 = U+20AC" | loadkeys -q echo "altgr keycode 18 = U+20AC" | loadkeys -q -
eend $? eend $?
fi fi