summaryrefslogtreecommitdiffstats
path: root/keymaps
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-06-15 16:25:54 +0000
committerMatt Wilson <msw@redhat.com>2000-06-15 16:25:54 +0000
commit8fd8526c4fa08b2ea33a8c734907b75f982e408b (patch)
tree09ee34f0da38346f1b5963c84c33d019c1424306 /keymaps
parent84f86b61c95fd16a46e1d3d6999c689e7b42cbf6 (diff)
downloadanaconda-8fd8526c4fa08b2ea33a8c734907b75f982e408b.tar.gz
anaconda-8fd8526c4fa08b2ea33a8c734907b75f982e408b.tar.xz
anaconda-8fd8526c4fa08b2ea33a8c734907b75f982e408b.zip
get sun maps too for sparc
Diffstat (limited to 'keymaps')
-rwxr-xr-xkeymaps/updkmaps8
1 files changed, 7 insertions, 1 deletions
diff --git a/keymaps/updkmaps b/keymaps/updkmaps
index 2feae46d3..df9766a11 100755
--- a/keymaps/updkmaps
+++ b/keymaps/updkmaps
@@ -12,7 +12,13 @@ TOPDIR=`pwd`
rm -rf $TMPDIR
mkdir -p $TMPDIR
-find /usr/lib/kbd/keymaps/i386 -name "*.kmap*" | while read n; do
+if [ $ARCH = "sparc" ]; then
+ PATTERN="{i386,sun}"
+else
+ PETTERN="i386"
+fi
+
+find /usr/lib/kbd/keymaps/$PATTERN -name "*.kmap*" | while read n; do
/usr/bin/loadkeys `basename $n .gz`
../utils/readmap $TMPDIR/`basename $n .kmap.gz`.kmap
done